unit testing

added some unit testing shells/base classes for future unit testing
default context

some theme maintenance
added layout switching support to the handler
merged some theming extras from another erdiko project