make the template task work in a similar way to controlers

this is in preparation to allowing users to override/define the view
class etc to use with helpers
Use anevent when creating the view

so that users can modify or replace the view class being used.

Also remove leftover templatePath references, and remove the default
theme BC hack