OpenTreeOfLife/opentree — pull request #273 by mtholder (2014-05-03 03:43:27+00:00)
Title: 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).