added tests for nested objects
added support for nested objects
strange - example code is not working
Merge pull request #1 from cheekybits/nested

Dot notation to refer to nested objects