[ci skip]
Insignificant trailing whitespace was annoying as it resulted in extra noise in the diffs, just get rid of it everywhere at once.
First set of changes incorporating new structure of source tree. It also applies some of changes planned as part of buried headers feature #25 Work in progress, requires testing before merging into develop branch