Contest system

Allow to create contests with INGInious.

Also add some features for other plugins, like the TemplateHelper (which allows to create callbacks that can be called in the templates) and some hooks.
This comment is so useful :D