clean up docs, fix duplicate license fields in package.json
refactored:

* works with any number of path segments (closes #2)
* recursively expands keys in nested objects (closes #3)
updates logic to expand the key when the value is an object (it shouldn't care!). adds tests
Merge pull request #4 from jonschlinkert/master

fixes #2 and #3