Added test InheritedWidget, inheritance of templated widget seems to be working.
Changed resource widgets to inherit from StaticWidget.
Removed commented out code, resource widgets' base code are now in StaticWidget.