update readme to use gyp instead of waf
fix type comparison issue
fix initialize order warning
Merge branch 'sjs/fix-compile-warnings'