added some functions for categories in synonymAPI
Merge branch 'master' of https://github.com/openmrs/openmrs-module-chartsearch