Modify application contexts to use settings from persistence.xml

Except for unit tests expects derby listening on locahost:1527 with database name pa165 (username: pa165, password: pa165)
Clean up application context file in web module

Remove unnecessary bean definitions, annotation configuration and component scan settings"