rename main.js to index.js for better package support
implement thisArg support for foreach
make warn and error print to stderr
Merge branch 'master' of github.com:mahdaen/node-native