Subresource creation

When creating a resource, instead of guessing how to sanitize the sub-resource attributes, we need to instantiate a temporary subresource instance and tell it to give us the on-the-wire format of its data.

The PR consists of several changes related to this small tweak.

Fixes https://github.com/stormpath/stormpath-sdk-python/issues/52