[core] Doc model API and desktop permissions cleanup

Looks big but mostly URL rewrite
Move API to /desktop/api to unify and simplify permissions (as desktop
should always be non restricted, except at the view level. currently
non admin user can't log out :)
Improved testing of DocModel
Improved testing by switching to non admin user some tests
Add autocomplete to DESCRIBE statement in Beeswax
HUE-1885 [useradmin] Sanitize user list
[core] Print log time to the same timezone set in hue.ini

Removing the +0000 that means GMT as we already print according
to the current time set in hue.ini.
[spark] Locales fail to compile because of some missing placeholders
HUE-1883 [beeswax] Query with expired result will break the editor

Add Javascript to handle the errors.
Also expire queries.