INTSCALA-50 Upgrading to latest version of scala compiler (2.10.0)

* Address deprecated methods to use the suggested alternatives
* Address compiler warnings
* Enable feature warnings and the corresponding compiler flags to address those warnings
* Remove the usage of then as it is a key word in scala 2.10
* Adding missing idea plugin goal in gradle build