Added support for paths.

I took code (almost verbatim) from the bindAttr helper in the Ember.js codebase. It has worked for me so far, but by no means have I done any extensive testing. If testing is required, I'm sure I'll have some time to write some test cases soon.