Added support for FormErrorCollection class

Also provided some interfaces for mock container and collection classes