Contest system

Allow to create contest 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.