Add generic dao layer
Refactor few code

- add hibernate.format_sql property in applicationContext-jpa
- fix test method
- refactor named query
- fix typo
Refactor generic dao layer
Merge pull request #6 from mozammel/feature/generic-crud-layer

Add generic dao layer