The rest api appears to need entity&action specified as fnName, at least to work on Drupal. Provide it.
Comma
Comment and trailing-space changes.
Fix for putting long vars in POST URL.

The major part of this change is changing:
  requests.get(self.url, params=payload)
to
  requests.post(self.url, data=postdata)
so that the parameters are sent in the request body, not in the URL.

The payload code has been refactored, and the GET payload excludes the body_X keys; this could be considered bad/overkill?
More mostly-comment improvements.
merged changes
Merge branch 'rivimey-feature/rest-add-fnname' into dev

Conflicts:
	pythoncivicrm/pythoncivicrm.py
Post now puts data into body of request
    * added a test, fixed another to reflect changes
    * did some code clean up (PEP8 etc)