moving storage calculation code to OC_Helper::getStorageInfo()
make usedSpacePercent available in the files app
notifications are now shown/hidden using the js functions hideNotification and showNotification.
storage warnings are displayed in a notification.
as soon as a notification is hidden the storage warning will come back.
javascript notification functions have been moved to js.js for common use
new javascript notification functions used within users.js
javascript syntax error fixed on the way
Merge branch 'master' into fixing-998-master
js optimisations and style fixes
Merge branch 'master' into fixing-998-master

Conflicts:
	lib/helper.php
Merge branch 'master' into fixing-998-master

Conflicts:
	apps/files/js/files.js
Move template parameters around so database error page is properly rendered
Merge branch 'master' into fix-issue-1085
bring back L250 as spotted by @tanghus - THX
Merge branch 'master' into fixing-998-master

Conflicts:
	apps/files/js/files.js
displaying notification now centered

The notification div has been moved to the user templates.
Correct display of the notification will only work with the use of OC.Notification.show() as on fadeIn() the css needs to be changed as this style required display: inline.
adding accidentally removed line - THX @bartv2
fixing indent - sorryy wrong setting on the IDE :-(
replace missing calls to OC.Notification.show
fixing text-align on navigation menu - closing div was missing - THX Lukas
pin notification to the top
Check that api methods return the correct result type