funkcni REST, opraveno dependency, config ve web.xml, spring beany presunuty do webApplicationContext.xml