Update to support custom errors

Implement no_src and timeout error events. Get tests up and running. Pull in Travis CI.

@seniorflexdeveloper: thoughts?