Added new v2 path and exception handling for illegal path
Removed /a prefix from URLs throughout since this part has now been
incorporated into the default v1 path
Added put method
It became apparent that client code that uses this
module was already including /a/ in their API
calls, so the /a/ references that were removed
have been replaced.
Added Content-Type header for v2
Added JSON building for v2 requests
Fixed validation for v2. Drew a distinction
between using API v2 and sending JSON blobs in PUT
and POST requests since you still need to use the
default form when validating in v2.
Fixed a bug in which request tried to call the string method encode
on ints passed in to the data object
Added options method
Added OPTIONS to list of HTTP method overrides, since urllib2 automatically
sets to GET or POST depending on the presence of data.
Added a missing line of whitespace for clarity between get and options
Updated docstrings and README.md
Bumped version to 0.4.0
Merge pull request #2 from openx/v2

Added support for APIv2 style calls