cherry-picked relevant stuff from OpenClinica/enketo-express-oc
Fix PM2 installation as root error per https://keymetrics.io/2014/08/26/pm2-0-10/.
Merge commit 'e171a59cac7f768c18ab95c9d86a0f2c968c9d56'
Allow Vagrant installation while working in non-master branches allow repo update during bootstrap script to be overridden. [squashed]
Mysteriously uncaught bootstrap script typo.
Allow use of 'nodeenv' in the bootstrap script.
Install 'pip-python' instead of 'pip'.
`sh` doesn't support the `source` command.
recognize https://localhost as valid url, closes #70
Merge branch 'master' of https://github.com/kobotoolbox/enketo-express
Merge pull request #71 from kobotoolbox/allow-nodeenv

Allow nodeenv in bootstrap script.
send proper HTTP response when submission received
add proper trigger functionality, closes https://github.com/kobotoolbox/enketo-express/issues/68
Merge branch 'master' of https://github.com/kobotoolbox/enketo-express
upgraded enketo-core with new universal file-input widget and wired this up on the client, closes https://github.com/kobotoolbox/enketo-express/issues/9
submission with media files functional, changed server submission function by simply proxying request to OpenRosa server and response back to client
finishing touches for file submission functionality, closes https://github.com/kobotoolbox/enketo-express/issues/6
turned server submission into simply proxy, closes https://github.com/kobotoolbox/enketo-express/issues/53
fixes cryptic error message when server URL does not exist is or is broken, closes https://github.com/kobotoolbox/enketo-express/issues/73
updated README
stop using navigator.onLine completely, closes #75