Add DefaultElementFactoryTest
- Code cleanups in GridLayoutElementFactory
- Add exception, if a expandRow parameter is invalid and could not be parsed
- Remove some internal namespaces