Ported controllers to new BasicController API.
Added head template to EditCategory.