Cleanup whitespace in /system/*

As the description says, this cleans up whitespace and related issues in system/

Whitespace on blank lines was removed as well as replacing lines of mixed spaces and tabs with tabs. Most of the code is tabs anyways, so I assume this is the desirable way.