Resolve "Create the plugin_event"
- For
listandmetric, filtering conditions can be written using the web2py syntax for database query. Therefore, it can deal with foreign tables of thehistorytable as well as with thehistory.data field. - The
smart_queryis still available but deprecated since it can not handle foreign fields. - Factorize the application around the
plugin_event. - Closes #16 (closed) and #19 (closed)