Create only one CSRF token per session

Before, the CSRF token expired every hour. We had a script in place
which should refresh the token but this don't worked in every case.
(Laptop sleeping etc.)

With this commit, the token will only get once created for every
session so that the "Token expired" warning shouldn't appear.
Change the requesttoken back to OC.EventSource.requesttoken
Cast object ids to integers.
Added unit tests for OC_VCategories.
Added some more error checking on db queries.
Switch expectation and result in unit tests.
Make the redirect_url working again

Fixes #160
[tx-robot] updated from transifex
load logging apps for webdav connections

Backport of de1b95c
adapted comments to the code changes
Add routes for vcategory favorites.
Update vcategories ajax scripts.
fix archive tar include path
LDAP: clear the cache not only when TTL changes, but with every settings update. Fixes #194
Files: change wording 'From url' to 'From link'
Merge pull request #203 from owncloud/wording-url-link

Files: change wording 'From url' to 'From link'
Check for redirect_url for logged in users

This checks if there is a redirect_url for logged in users
Remove uneeded new line
[tx-robot] updated from transifex
Add CSRF token