Add Attributes formAction, formEncType, formMethod and formTarget

This resolves #2425.
Merge pull request #2489 from cody/form

Add Attributes formAction, formEncType, formMethod and formTarget