Use Model.add_to_class to augment class
Tests for methods added via add_to_class
Merge pull request #772 from caktus/add-to-class

Use User.add_to_class to add methods to User