added support for option 'collection', which makes this plugin only effect files belonging to a collection, such as the ones created by 'metalsmith-collections'
Merge branch 'master' of git://github.com/sanx/metalsmith-permalinks into sanx-master

Conflicts:
	lib/index.js
	test/index.js
Merge branch 'sanx-master'