Hooks, mas messaging portlet, landingpage portlet and lots of bugfixes
Code missing in previous commit