Merge pull request #9 from sclm/master

PUT and POST should use JSON bodies
Don't add page call functions when None is in the response