whitespace in snopt interface

99% deleting trailing whitespace, also removed a few newlines
delete trailing whitespace in top-level CMakeLists