Regularize usage of Utils.WithAsInstanceOfOpt
Regularize usage of EclipseUtils
constrain EditorUtils
Merge pull request #226 from huitseeker/pre/UtilsAPI

Cleanups as prelude to Utils API
Adapt to new Utils API

Depends on https://github.com/scala-ide/scala-ide/pull/815