hornetq-jms-client/cdi: compile with java7 && fix HQ main version.