form cleanup module and management commands to clean forms by id or domain

plus a little bit of random cleanup i touched while working on this