Factor out ensureUser and add Error class in seed_db
Also removed the seed_many stuff, this will be moved to a seperate
url with in a more generic approach.
Patch by: Sverre Rabbelier
2008-11-19Public Domain.NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.