add .idea to .gitignore
npm shrinkwrap
a few updates for generic petition validation
add upstart conf file