Merge pull request #32 from filinep/rewrite

Fixed result encoding for the workers.
Added basic emailing capability.
Added jar "cache", jar only gets removed when a job is complete.
Improved IP address retrieval.