Adding cmake skeleton and a source file in src/

Pretty much what it says on the tin.  CMake is configured to emit a
shared library with some basic versioning information.  Currently set to
Major: 0, Minor: prerelease, Patch: unstable

Which should scare most people away the appropriate amounts.