Merge pull request #1 from mazerte/master

Add unit-test and Node api
Changed settings for travice and coveralls
Changed version os jscpd after megre
changed travis configuration
added new fields to npmignore
Add index.js