Enable csrf protection

- add jquery also
Added entity classes, set jdbc username and password
Implement persistent cookie based remember me

- add service layer also
Refactored domain objects
Merge pull request #4 from biqar/feature/entity

Added entity classes, set jdbc username and password
Merge pull request #5 from mozammel/feature/remember-me-and-csrf

Feature/remember me and csrf
Add generic dao layer
Refactor few code

- add hibernate.format_sql property in applicationContext-jpa
- fix test method
- refactor named query
- fix typo