Fixed support for staticmethods in deprecated() and fixed an issue where the full deprecation message was not being displayed
Added changelog entry
Merge pull request #2811 from embray/deprecation-fixes

A couple fixes to the deprecated decorator