Revamped logging code. All exceptions show now be trapped. Also adding
logging of the input instance name where possible.
Merge pull request #29 from splunk/error-logging

Overhauling logging strategy