fix(classes): Make tasks model classes work

This moves classes binding back to template, and adds unit tests checking for row.model.classes and task.model.classes.

Close #252