push error messages all the way back to client. fixes #2
add some basic test
adding moment
not sure how this ever worked before
changed doc type
Merge pull request #12 from mvandyke/master

changed doc type
merge conflicts from master
: