Converting tabs to spaces using expand.

Alternative to PR #155, using `expand` instead of `astyle`, and also converting tabs to spaces in all CMakeLists.txt files. Only this OR #155 should be merged.