Initial port to 1.7.10.

Note that jar shading is currently not enabled because of an issue I could not track down. sk89q knows about this, and has told me he will try to figure this out.