Start of new api stuff.
Print error body.
More defensive create_buf
Use unicode in python 2
Merge pull request #105 from Floobits/perms_api

Better API requests. More defensive create_buf code