Some fixes + better CMake conversion

Hi,
Mainly, I fixed some smaller issues in the CMake conversion, converted the readme to Markdown and fixed a few smaller issues in the code.

I think dropping direct support for configure/make makes sense, since the CMake version allows you to easily generate those, and cross-platform support is also better.