Restyled application. Refactored templates and pages to work with new
styling. 
Fixed bug when removing detached entity in JpaBaseDao.