Revert "Rewrite submodule references"

This reverts commit dfc79d2788f30fe1bd116dcec153312c1666046e.

Conflicts:
	src/CMakeLists.txt
	src/main.cpp
	src/mark_sha_map.hpp
	src/repository.cpp
Trivial CMake bugfix