Whitespace fixes only.

Normalize whitespace, tabs to spaces, unix line endings, no trailing spaces, single blank lines.
Remove closing php tag at end of files.
Not an executable script
Remove strange unicode characters in variable references
Resolve E_STRICT errors and warnings.
Fix unresolved element references on extension.dtd
Merge pull request #2 from nickl-/master

Maintenance fixes