Switch the order of the SQL because anal retentitive.
Override self.by_slug to auto-create the category if it doesn't exist.
Renamed assign_wares to link_wares, and assign_categories to categorise\!.