add "deprecated" css class to deprecated methods

How it looks like:

![deprecated_after](https://f.cloud.github.com/assets/330436/212737/c6efbd58-832b-11e2-87bf-bf0545de4b7f.png)