Clean mail module source code
Fix bad comparison
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
fixes #166
Improve exception
Add templating to i18n
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
Merge pull request #196 from Masadow/master

Conflicts:
	beluga/core/module/ModuleImpl.hx
Merge pull request #193 from GuillaumeGomez/master

Clean mail module source code
Manually merge pull request #202 from brissa_a/i18nTemplate.

Conflicts:
	beluga/module/account/widget/LoginForm.hx
Modified:
    beluga/module/accout/view/local/login/fr.json
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