support for content creation in candlepin when a repository is created
code smells and syntax cleanup, no code change
remove json from all controllers, we'll have api controllers later on.