Merge pull request #26 from pogopaule/master

put arguments for equal function in correct order
add .npmignore

prevent tests and other unneccesary files from being bundled into npm
module on 'npm pack'