SQL scripts updated
ID Generator fixed SQL statements.
Updated persistence manager and added logging
CategoryDAO reworked to use correct sql, some null-safty and logging added.
CategoryDAO should be good by now, but tests not complete yet.
JUnit added to classpath.
CategoryDaoTest added to test CategoryDao.