Fix some errors on hibernate DAO impl, Moved settings to web layer, Add gallery view and other.
Fix bug and add logger to hibernate utils. Update method name and error message in base class image persistence.
Fix some issues on web layer.
Merge pull request #11 from ximagination/dev

Fix some errors on hibernate DAO impl, Moved settings to web layer, Add gallery view and other.