EJB 3.2 spec support - Make javax.ejb.embeddable.EJBContainer implement AutoClosable

The commit here makes javax.ejb.embeddable.EJBContainer implement AutoClosable interface as required by the EJB 3.2 spec. This commit also enforces JDK7 for building the project henceforth.