Add languages support: scala, ruby, go, haskell

Also updates the compile options according to CodeForces' settings[1][].

[1]: http://codeforces.com/blog/entry/4088