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.
Rather than `-std=c99`, you should use `AC_PROG_CC_C99`, for example.