Enabled cdi by adding beans.xml files.
Introduce remote Interfaces. Because CDI do not work over remote interfaces.
Added a PersitenceContext producer.
migrate to CDI.
Merge branch 'master' into migrate_to_cdi

* master:
  Upgrade maven-compile-plugin to version 3.1 and maven-source-plugin to 2.2.1
  Organized Imports