Patch up pom.xml and handle Canary.inf a small bit better.

This removes unneeded dependencies from shaded jar and handles a few other things.