Add support for @EmbeddedId annotations

We also already require java 7 as defined in opower-parent. Agreed with @essandem.