annotation: first commit

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: scaffolding

* Added working add/ view actions in the annotation modal.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: additions and fixes

* Fixed wrong URL for AJAX requests (was relative instead of absolute);
* Added URL detection when adding/ viewing annotations;
* No longer using dictionary for configuration parameters;
* Minor refactoring.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: fixed menu button positioning

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: modal tweaks

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: SQL/ JSON models WIP

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: mongodb storage

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: working "add annotation"

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: working annotation retrieval

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: additions and fixes

* JSONAlchemy namespace;
* AJAX form submission;
* Tweaks annotations menu tabs;
* Login required for adding annotations.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>