Fix #34 Nice way to cast the current action to an appropriate class in Scalate templates