Added function getSingular(entity) to util.ftl