Fixed database creation inside HibernateCriteriaConverterTest.
Added TransactionAwareDataSourceProxy so that JDBC queries inside the
JdbcFilterDao work properly inside the Hibernate transactions.
Added flush() call to make sure that the accessLock entries are in the
database before the UpsertTest runs.
Field cleanup in NotificationManager.
Fixed API of some test DAOs.