Bugfixes

1. Remove base_href and replace it with server_dir. This fixes the main menu and submenu redirects.
2. Make sure new user DB has 640 permission.
3. Fix typo in base template.
4. Fix link and msg bug in xmpp module.
5. Move owncloud configuration form to a separate module.
6. Change xmpp and owncloud configuration forms to use FormPlugin methods. This works with the POST method.
7. Fix some remaining redirects in auth_page module.