Add deprecate.function(fn, message)

closes #1