Fixed for IntelliJ 13

Hello. I've made a few fixes to get this plugin up and running under IntelliJ 13.