Add checks for deprecated method and function calls
@simonhard can you provide a list of deprecated methods, so we can implement the sniffs?