Add composer.json file.
Fix bug with file handler not being reset.
Fix spelling of file handler variable.
Merge pull request #10 from martinj/master

Add support for composer and fix a bug with Curl HTTP adapter not resetting its filehandler.