CRAFTERCMS-479 Get UGCs based on a targetId regex

Remove some unused dependencies (spring-social), remove used repositories.