add a deprecate decorator
rename deprecate -> deprecated
Merge pull request #20 from tlatsas/functools

add a deprecate decorator