State machine changed to aasm
More test coverage. Refactored CategoryPresenter. Fixed filter helpers.