test(es5) temporarily add some conditions for es5 build, index.html needs to be moved to a shared path and use a config file for default settings like the debug port.
fix(git dependencies)

Add a basic gitigore for idea and node_modules.
Add extra dependencies to package.json and resolve `pretty-hrtime` as a top level dependency rather than manually require from gulp/node_modules.