Replaced create_tables.sql
Shoq quota; Bugfixes;
API and other bugfixes
Quota info localisation
Hotfix
Fix bug in search query
Fix bug in search query part 2
Unfix bug in search query

Everything back to where I started
API fixes
API fixes
API date format fix
Rewrite entity.__get_id_list
and fix no1 for entity.__get_id_list
beautify
fix no2 for entity.__get_id_list
User logout destroys session now
Updated TODO
Fixed API JSON date formating
Entity x_created and x_changed fields
Merge branch 'rights' into develop