Allow iterating of resource fields

Review Request #3911 — Created Feb. 24, 2013 and submitted — Latest diff uploaded




Allow iterating of resource fields

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

Also add logging of http requests

The method and url of any api request made using the sync transport
will now be logged.
Tested commands using -d option and observed logging of requests. Iterated the fields of several resources using the interactive interpreter.