Add tests for #107

I've added tests for three scenarios I came up with: "person.name as person in people", "person as person in people" and "person in people".

Also I modified your package.json to add a postinstall (runs `bower install` after `npm install`) and test script (means that `npm test` will run `gulp test`) - they're helpful for contributors getting started with minimum fuss.