Adds options for mongodbOdm
Fixes form submission; changes from class-typed to type as an attrib