Add fix for returning payload from sync methods
Added test for payload return
added period at end of docstring
minor modifications to tests accordingly
Merge pull request #158 from jdnc/payload-for-sync

Allow sync methods to return query_payload