studyYear coercion and grabbing sha from PUT

You may want to reject this one. Certainly look at it carefully... my js is not good. 
But this does seem to be moving in the direction of nexson that makes peyotl happy. 

Also note that the PUT returns the updated SHA, i think that we need to grab that (but I'm not 100% sure that this version of the code is working).