Make `baseScalacOptions` Scala version dependent.

The 92d7520f7 added Scala 2.10 specific compiler options that break
IDE build for Scala 2.9.

This commit makes the new options version specific and
enables them for Scala 2.10 and Scala 2.11 only.