whitespace fixes

expand tabs, fix indentation, remove trailing whitespace.

Change-Id: Ibec1bbad9e8faff81671ce9d1c7bb4fb9b340bb9
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>