[fix #103] Check permission for paper settings

Only authors and reviewers should be allowed to see the paper settings
and roles.

This will be refined later when using the fine-grained permission
framework.
[imp #94] Add new system compilers

Adding common \LaTeX compilers makes it possible to compiler more
documents.
So, by default we now have:
 - pdflatex (default compiler)
 - latex + dvipdfm,
 - xelatex,
 - lualatex

\BlueLaTeX assumes that these tools are installed on the system and
does not check for their existence.

If problems arise on some platforms, we should have a look at how to
make it detect if these tools are present in a portable way (well,
problem is probably on windows, which has no `which` command, and I am
not aware of any similar command, help is welcome here).

This commit closes #94
Merge pull request #104 from satabin/fix/103/check-roles

[fix #103] Check permission for paper settings
Merge pull request #105 from satabin/feature/add-more-compilers

[imp #94] Add new system compilers
[imp #55] Improve configuration loading

The default values are now in a file named `application.conf` so that
keys are resolved with the local overrides for configuration. This makes
it possible to simplify configuration overrides when substitutions are
used. The keys using substitution in the default configuration must not
be overridden as well.

By making sure that the local files are loaded at last, we now that
their values will be taken over the default ones, as specified in the
HOCON file format.
Turn akka verbosity off

By default, akka logs any message that could not be delivered to an
actor which was shut down. This is a quite common situation in
\BlueLaTeX, and we do not want to be notified for this.
Merge pull request #106 from satabin/feature/conf-improvements

Feature/conf improvements
[fix #110] Fix bibliography generation

`bibtex` expects the name of the `.aux` file, which is `main`, not the
paper identifier anymore since #93 has been implemented in
3c21efa28d5ba604857d4bdcf5992c94ccc746c1.
[imp #107] Remove URL encoded data in blue-sync

All of blue-sync module now only deals with UTF-8 strings.
The compatibility layer for old mobwrite protocol ensures that data is
encoded/decoded when needed.
Thus, the blue-sync core is much cleaner and easier to maintain.

Neil Fraser's DMP code has been modified so that it also only makes use
of UTF-8 strings.
[imp #112] Make compilation type configurable

Server administrator can choose whether papers on this \BlueLaTeX
instance are compiled explicitly by the users or as a periodic
background task.
The default is now the more intuitive explicit compilation type.

The configuration sent back to the client was extended to inform whether
it should automatically resend a compilation request when the previous
one is over.

Fixes #112
[imp #107] Remove URL encoded data in blue-sync

All of blue-sync module now only deals with UTF-8 strings.
The compatibility layer for old mobwrite protocol ensures that data is encoded/decoded when needed.
Thus, the blue-sync core is much cleaner and easier to maintain.

Neil Fraser's DMP code has been modified so that it also only makes use of UTF-8 strings.
Merge branch 'satabin-feature/explicit-compilation'
Merge pull request #115 from chemicalstorm/wip-fix-107

[imp #107] Remove URL encoded data in blue-sync
Merge pull request #117 from tdurieux/wip-fix-107

[imp #107] Remove URL encoded data in blue-sync
Disallow inclusion of files from other papers

Make the file opening policy of the system compilers of texlive
prevents TeX from reading hidden files ( starting with a `.') and paths
that, at some point, go to the parent directory.

The \BlueLaTeX custom texmf.cnf file prevents people from including
content from other papers (more precisely from other users' papers!)
and thus helps to avoid data leaks.

The paper will not compile if it contains somehting like:

  \input{../some-paper/main.tex}

or

  \include{./../some-other-paper/main.tex}

TeX documents are only allowed to include files present in the paper
directory or at standard TeX places on the system (system styles,
classes, ...).
Use Less CSS pre-processor

The goal of this change is to improve the maintainability of the CSS and
decrease code duplication.
Improve UI

Improve script loading
Update AngularCache
Small UI fix
[fix #113] Remove editor settings from the menu

Remove editor settings from the menu
[add #114] Add the possibility to delete account

Users can remove his own profile directly in the profile page.
[fix #109] Fix reset password in profile page

The rest function was never call and fix the request.