whitespace fixes

remove trailing spaces & expand tabs.

Change-Id: I8aea7b7f0fbf0540769a9aa5cf0487356bb83f72
Reviewed-by: Martin Smith <martin.smith@digia.com>