Add conditional requests to the HISTORY
Change _post to automatically JSON encode the data

Changes all use of _post to JSON encode data, except the one place
(pubsubhubbub) where we genuinely want form-encoding.
Fix a few accidental deletions.

Also fix the instance when data=None. We don't want 'null' instead of None.
Merge branch 'pr/66' into develop