Add CMake build system

This allows to build the project easily, including the simple-jpeg library, using CMake.

It also cleans up the repository and removes some junk files.