Find correct line feed in text,
fix for right placement of header with noreferences.py (Bug 55409),
some pep8 changes

Change-Id: Ieacc301341f71385b9e92a61ad44a59fe79ea367
Merge "Find correct line feed in text, fix for right placement of header with noreferences.py (Bug 55409), some pep8 changes"