PHP warning fix, new default template method, autoloading js/css

None of my modifications/additions are breaking changes. To use the autoloading feature, you specify the path to your assets folder that mirrors your views folder. If a stylesheet or js file is present with the same name as the view file in the corresponding folder, it is auto loaded if this feature is turned on in the configuration.