refactored TbActiveForm and TbForm
fixed typo in TbActiveForm
Merge pull request #687 from gureedo/newform

refactored TbActiveForm and TbForm