factory girl: ensure sequence indexes start at last db record

this way we don't have to reset db between test runs
allow for nested categories
Revert "allow for nested categories"

This reverts commit 55ae023dbf1b508b53861899e4c14160037fa5fd.
implement child-parent category relationship
make `Category` uniqueness more accurate for new role