Added a maximum version to Distribution().

I encountered an incompatibility when part of the build (zinc) picked
up java 1.8 in my path instead of java 1.7. This change by itself
does not fix the issue, but lays some foundation to help pick a
distribution less than a maximum rev.

Signed-off-by: John Sirois <jsirois@twitter.com>