CMake fixes and changes

* Coverity build and upload targets
* Split into .cmake files to decrease code duplication
* Move source file listings into logic/ and gui/ to reduce the size of the root CMakeLists.txt
* Same coding standard everywhere (4 spaces, lowercase function names, MultiMC_ for user changeable variables, all upper for others, no space before parantheses)