updated based on feedback from pull request 113
adds support for sequential categories and with_categories for topics in factories.rb

Fixes multiple ins or bys being search for
Strange conflicts with myself?