Merge pull request #4 from ledmonster/feature/cleanup-namespace-di

Fixed static variable syntax
Added form type constants
Fixed ActionClass constructor to accept controller as an argument.
Set ActionError as a property