API change to Client to support templatized urls
API change to Client to support templatized urls

Resources instantiated using the URLs in api.directory are now
stored in client.directory, rather than client.resources.

client.resources is now an dictionary of functions for instantiating
resources when templatized URLs are required.

GemHQ/patchboard-js,bezreyhan/patchboard-js,patchboard/patchboard-js