autotools (for C impl.), change name to cm

This is a WIP, it makes much more sense to have an autotools process, makes it easier to integrate and use.

This already builds stmd, more rules are required in makefile. Advise to move deployment away from makefile "update site" doesn't belong here.

I'll do library stuff and debugging and some configure switches and whaever, if you're going to merge.

There is much work to be done on this C implementation before we can build a library and use it.

Included is rename in all places that are C to cm.
Yeah it is a bit odd, I just copied the flags being used, not sure what new implementation will require, so will hold off changing this bit until we know.