annotated source with ngdoc documentation

added callbacks to objectstore requests (onerror, onsuccess)