Add .npmignore

- It should exclude src file from npm install command (to be tested).
New ignore-missing-resource property

- Default is true
Fix path
Unit test for ignore-missing-resource