FIxed POST logic

Fixed problem with POST request (https://github.com/digitalocean/api-v2/issues/92)
Plus fixed some minor stylistic issues.