Added the ability to create categories through REST API.