for #1291 using the actual corpus doc, not only its pouchname title and gravatar. this way we can use the datumFields that the corpus team has specified, with its help conventions and maybe even let the users change the title, people have been asking about how to change the title... #1259
for #1291 only storeing the pouchname in the preferences so that the corpus details are not stale, since the page loads the corpus doc everytime anyway... might as wel use the the fresh info in case someoen has modified the corpus fields
for #1123 #1154 #1189 #1183 we thought we fixed the enteredByUser and ability to use custom fields in the templates but we only updated the update part of the save, not the create part of the save. so as part of #1122 we moved the save spreadsheetDatum into a new service so that its all in one place, and no need to copy paste.
for #1123 #1154 #1189 #1183 and #1122 moved the conversion of feildDB data and spreadsheet data into a seperate file so that we can be sure that datum are always converted the same way
reducing dupliacted code by combining new and updated couchdocs into one function for #1122
for #1123 #1154 #1189 #1183 and #1122 added saving with error handleing and an array of promises tested with lost sesion token, offline and lost writer role all alert the user correctly now to retest to see if #1283 is finished