Added metadata recognition and ".."-newline fix

- metadata recognition inserted (skipping content for now). Recognized: Type/Function/Method/Field/Local/Global-metadata.

- added helper function for ".."-recognition. Unified "~r~n" AND "~n"-recognition (was missing in some cases)