rationalise existing test so they read better
add ability to call message edits
add test to show empty updates are rejected
return the callback
be consistent about returning callbacks
rationalise post and put calls

include logout step in tests
Merge branch 'master' into jhbate/cleanup

Conflicts:
	index.js
nothing to return after put,  pass message to edit
missed cb
remove unused, use default return for edit
fix comment
Add comments to generic functions

wrappers GET/POST and PUT
Merge pull request #23 from tidepool-org/jhbate/cleanup

Jhbate/cleanup