initial version of cmake

This still has some bugs, just for backup.
fixes bug: ml install
[cmake] add lib ver num and debug mode notation
[bug fixes] make nadd2013 is workable
bug fixes
Merge pull request #3 from yunfuliu/CMake

Add functionality of supporting CMake