[all] Use modulemapper.getOriginalSymbol() in FileReader

Also changes the function to return the actual symbol if it was never
overwritten.
[all] Deprecation message support to modulemapper.

Also changes deprecation messages so that they are logged only once.