Merge pull request #2 from chrisavl/master

Use statman counters to report errors
Fix crash due to case clause

* Fix crash cause by missing case clause
* Cleanup code and remove export_all
* Add .gitignore
Merge remote-tracking branch 'upstream/master'
Update src/newrelic.erl

Fix exports and update protocol version
Merge pull request #3 from sthadka/master

Fix crash due to case clause {error, timeout}