preparing 0.2.2 release. pre-release.sh and release.sh scripts added
prep for release 0.2.2 pre-release copies lib/perl.js to index.js

pre-release also checks the npm pack so .npmignore can be set right.
release script tags and pushes, test installs, etc