Expose system entitites in REST API, i18n catalog bug fix, code cleanup

initial tests for exposing system entities to super users #816