Refactor zinc logic out of scala_compile.py.

This has been tested and seems to have no regressions.
Merge pull request #118 from foursquare/master

Refactor zinc logic out of scala_compile.py