add formgenerator event feature

- formgenerator now fire events that are configured in the form xml file
add formgenerator context feature

- formgenerator now that context that are configured in the form xml file
- fixes #27