Adds support for passing functions to `assert`
Merge pull request #148 from twokul/assert-function

Adds support for passing functions to `assert` and `deprecate`