Accept and sanitize attributes from POST
Tweak field datatypes in admin UI
Misc minor updates
Update sql initialization for categories