Add tests and documentation; bump to 0.1.5
Merge pull request #3 from podefr/master

Use [].slice.call instead of for loop