Fixed settings and dependencies

* Added dependency for the Entity Manager
* Added dependencies for jdbc and mysql
* Added persistence.xml
* Fixed app-context's settings