fix database models naming.
By the past the rule for model fields was the 2 first letter of the model, the 2 first letter of the associated
object, and the name of the field.
For example, the field user_id in the Message model from the Ticket module was named: me_us_id.
This commit remove this behavior.

Closes #139
fix db config
Merge pull request #195 from jeremyletang/db-fields

fix database models naming.
refactor MttWidget
the goal is to don't duplicate the same code inside each Widget,
MttWidget is now parameterized with the type of the widget's associated module.
see changes for details.
remove old metadata trigger system
Merge pull request #198 from jeremyletang/clean-old-triggers

Remove old triggers (with metadata) related stuff
Merge pull request #201 from jeremyletang/mttwidget

refactor MttWidget
begin implementation of new locals system.
- change expected french local file from fr.json to fr_FR.json
- add Ticket browse widget translation
add create widget locals (ticket)
add show locals
add admin ticket locals
move i18n var inside MttWidget
work on wallet locals
update conflicts from rebase