Add logging of http requests

The method and url of any api request made using the sync transport
will now be logged.
Allow iterating of resource fields

Resources now have an 'iter_fields' method which can be used to
iterate over the resources fields.