Remove external dependencies

Use http node module to connect to elastic
Fix bulk bug
Add mock in graphite test
Fix typo in README
JSHint