Fix getTopLevelCategories.  It's been broken since my category refactoring in December, which stored the full category path.
Merge branch 'jan_r2' of https://github.com/PLOS/ambra into jan_r2