eliminate tabs and trailing space in templates
PSR code style fixes
Merge pull request #9 from SlateFoundation/v1.slate.is

detabbing and PSR code formatting