fix 'scala object not found' error when FCS is used (SCL-2440 and friends)

Hey guys,
this patch is an attempt to fix http://youtrack.jetbrains.com/issue/SCL-2440 and duplicates
So when FSC is used and you don't have compiler library in the project classpath (which is usually the case) IDEA will abort compilation with 'scala object not found' error
As always I would be glad to hear your code review comments (and fix them, if any)
Thanks,
Eugene

review by @pavelfatin