More robust version reporting

The version reporting is now based on the pkg-info package. Clojure
version reporting was moved to the connection info, since it's
connection specific information.