Adding Hibernate

- Added hibernate configuration classes and XML files.
- Annotated SemanticType class so it can be persisted.
- Also adapted log4j.xml so it specifies log levels for certain
dependencies.