Be compatible with fluidcontent_core

With a few changes in how the UID of the current file is fetched, this extension can be compatible with both css_styled_content and fluidcontent_core.

Specifically, as all rendering is done without TypoScript in fluidcontent_core, getCurrentVal() cannot be used. It also does not seem to be necessary, though.