Remove deprecated calls and suppress warnings which can't be fixed

This removes the deprecated method calls from the sources.
It also adds annotations to suppress warnings which can't be fixed normally.
Paths to build the plugin with ``` ant ``` are also updated to latest stable IDEA 13.