[webui] test and fix submitting packages
[api] work around mod_xrewrite bug

rack:deflater compresses the head answer (which is in itself smells like a bug)
but mod_xrewrite leaves the content-encoding header in the reply, which leads
to uncompressed answers (from backend) with deflate header
[webui] add default architectures to new repositories

It's adding recommended architectures - of those that are available. which
is i586 and x86_64 for the test suite
[webui] rework the /home logic

incoming requests are calculated independent of outgoing requests. reviews
stay as they were: if you're the creator, they are always outgoing

Fixes #473
[webui] redo this whole 'package links to' thing
[api] do not touch all unchanged projects if updating maintenance list
[webui] finish test case for add_maintained_project
[webui] Get a grip on the theming

* XML views are in app/views
* HTML views are in app/views/webui and app/assets/*/webui/application*
* HTML themes are in app/views/webui/theme/$name and app/assets/*/webui/$name*
* Added the 'bratwurst' theme, successor of 'bento'
[webui] fix class name for bento
[webui] small test case that bento can be setup (and fix it)

remove also references to mobile_views and validate_xhtml - I still like to have
our pages to be valid HTML, but it's much harder with HTML5
[webui] do not reuse Thread.current's user in user#login - it's reused
[webui] move helper functions used by controller to model