A couple fixes to the deprecated decorator

1) staticmethods were not fully supported (they receive the same treatment as classmethods)
2) the full message for deprecation warnings was not being displayed; I think this was just due to some code rot that hung around after `deprecated` was refactored to support class decoration