[SCL-5368] Add @inheritdoc support - test missing

I would have liked to add a test to QuickDocTest but I couldn't figure out how to run it?
See http://devnet.jetbrains.com/thread/450352?tstart=0