batching logs now
error handlers added
httphandler file added
changes made according to comments
Changed api back for the sake of backwards compatibility
Merge pull request #7 from cleandart/batchLogging

Batch logging