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.
Change to directory and url_templates specs
mostly using specs for associations
Merge branch 'master' into templatize
throw when unable to generate URL because of missing params
Merge branch 'master' into tmp
Combined extensions and directory in definition
comments explaining usage of directory def
Support chaining of templatized resources
eliminate bifurcation of 'resources' vs 'directory'
use prerelease versioning for NPM
separate api from options in constructor
better error handling in request prep
renaming paths to directory
change package name
mostly working Actions rewrite
most github example tests working
added fairmont dep; s/directory/mappings
fix test to use local api example
removing associations for now