Added templates for Intellij IDEA

Live templates for IDEA.
Put this xml into your $HOME/Library/Preferences/IntelliJIdea12/templates/.

![2013-07-08 13 15 28](https://f.cloud.github.com/assets/264469/759376/3ce716d8-e785-11e2-9ff5-cca7353052f0.png)