Autoredirect if referer origins from same domain

This fixes https://github.com/owncloud/mail/issues/179
Remove uneeded import
Show a spinner in case JS is not yet properly loaded
Open links in new tab
improve styling for link redirect page
make redirect page work on mobile as well (remove wrapping divs + indentation change)
try to make redirect work again
Check for autoload.php and tell the user to run composer if it's not found
close the session in the proxy controller - enables parallel download
fixing auto redirect
Throw an exception instead of exiting when autload.php cannot be included
Merge pull request #195 from zinks-/missing-deps-notice

Check for autoload.php and tell the user to run composer if it's not found
[tx-robot] updated from transifex
adding smtp detection

proper setup smtp parameters as taken from IspDb

implement proper entity account

TestMailAccount is now testing the method toJson()

use account's smtp parameters to send emails

adding manual account creation

move saving of the account to the controller level
Merge pull request #192 from owncloud/show-no-referrer-warning

Autoredirect if referer origins from same domain
Merge pull request #198 from owncloud/use-smtp-from-ispdb

adding smtp detection
introduce backbone router and first route 'accounts/new'
directly open next mail on delete, don't wait for actual deletion
fixing some php warnings
add routing for accounts