Fix failure tracking for non-streaming jobs.

* move the @staticmethods to luigi.hadoop namespace.
* refactor all uses of those functions.
* clean up some random lint errors and imports.
Merge pull request #31 from jcrobak/fix-url-tracking

Fix failure tracking for non-streaming jobs.