Use local resources for Angular and Co JavaScript files.
Ensure we always save to local storage even if CouchDB is not available!!
Convert from JSON to data struct when loading from local storage in localstorage.load()!!
Some extra logging that will need to be removed.
- Fix bugs in CouchDB vs Local Storage data revision management.
  - Temporary CouchDB outage allows storing to local storage and recovering afterwards w/o conflict.
  - Update _rev in service.model rather than the deep copy made for asynch save to local storage.
  - Save to local storage is once more done on completion of the save to CouchDB (whether OK or not) so the correct _rev is used.
- couchstorage.js now checks whether the conflict resolution function is defined.