Added the create class

The annotations are now stored into the db with the annotation ID being
returned from the server, revision ID is sent as a parameter
in the API request. The Js module is loaded only if the user is logged in.

Change-Id: I9f55c03a9d5876b951d89035a0550d81a4b7b685