Add callback to handleInput() for easier use in other projects

Since handleInput works completely asynchronous it is necessary to
provide a callback function for signaling finished operation.
This allows other project to call the handleInput function.

See https://github.com/pimterry/grunt-coveralls/pull/3