Improve paper preview

Refresh display when the window is resized

Verify that the current page has change before scroll to the new current page.
Fix Page navigation
Parse correcly the response of the server
Create angularjs event to propagate window resize event
Change the "new paper" button position
Use one template by paper page status

The page paper has different status:
- load: load paper information
- author: the currrent user is an author of the paper
- reviewer: the current user is a reviewer of the paper
- error: if an error occurs
Add documentation

Begin to comment undocummented code
Add compilation long polling

The client waits a new compilation to update paper preview, paper page and compilation log.
Improve register page design

Add input label, change order of buttons, add a text indication for required input
Clear cache on logout

Clear the cache when an user logout. A new service is added to clear the cache.
Insert resource on cliking on it

The name of the resource is added at the position of the cursor
Update preview content when the preview is resized

Fix the display of the preview when the scalling fator is not set to auto. And the current line is now correcly highlight when the scala factor change
Dipslay paper compiler options

Display compiler options on paper page
Add a preview for resources

A user can directly consult image resource in paper page.
Translate labels
Improve synctex debug view

Each preview generate its own synctex debug view
Display all warnings and errors in paper menu

Diplay errors and warings only in correct file, display all errors and warings in the paper menu.
Add synctex multifiles support

Manage multi files for the mobwrite functionality
Prepare integration of the web client into OSGi

When packaging an application as OSGi bundle with out sbt build script,
we expect directories to be organized in a certain manner. Stuffs in the
src/main/resources directory are automatically add to the jar file,
which makes it a good candidate for the client code.
Track registered web applications