rename and convert Mason template engine to be suitable for Dancer2

* convert tests to load proper class, they probably fail