Added indexOf filter

Closes #575 

Adding indexOf filter from Shopify. I think this adds value and provides a built-in solution to the problem of accessing the current index in a data-foreach, as highlighted by @meskyanichi.

How do you guys feel about the interface? Should the collection or current value be listed as the first argument? 

@pushrax @angelini