Python decorator to deprecate old python classes, functions or methods
