Trim whitespace
No format changes made.

Only changes in this were small formatting fixes and header updates.
Header updates = changing `Version` to `v` and adding full revision
number.