added initial version of cmake build-files
added scanner.c to sources and special rule
for it to build it from scanner.re (added setting RE2C which contains the path to needed re2c utilitity)
ignore build directory
corrections for OSX and *NIX
fixed using variable ${PROGRAM_stmd}
Merge branch 'cmake-build' of https://github.com/gittiver/stmd into cmake-build
urls used in packages changed to common mark.org
using only includes from system
using only includes from system
Merge branch 'master' into cmake-build
Merge branch 'master' into cmake-build

* master:
  Adds missing newlines
  Changes urls to use example.com
  Changes append to prepend
  Suppress 'missing field initializer' warnings
  Makefile:  Use ?= so variables can be set on command line.
  Fix some compatibility issues
Merge branch 'master' into cmake-build

* master: (75 commits)
  Remove duplicate `footer`
  Correct capitalization of JavaScript
  Added link to commonmark.org on web page.
  Added cases from #51 to spec.
  Added test case from issue #147.
  Removed uthash license.  We no longer use this library.
  Removed bstrlib license.  We no longer use this library.
  Removed oldtests.
  Cleaned up entity section of spec.
  Adjusted tests for new js parser.
  stmd.js:  Fixed entityToChar, adding fromCodePoint polyfill.
  Reset label_nest_level before parsing reference.
  Removed spurious 'and', reflowed.
  Removed spurious 'and', reflowed.
  Further emph fallback optimizations.
  Some jshint fixes.
  Use simpler algorithm.
  Revert "Use integers instead of strings for tags."
  Revert "Use numerical constants."
  Use numerical constants.
  ...
Merge branch 'cmake-build' of https://github.com/gittiver/stmd into gittiver-cmake-build

Conflicts:
	.gitignore
Added Makefile.old.
Removed obsolete src/getopt.c; modified CMake build accordingly.
config.h unnecessary for now.
CMakeLists tweaks.

Use compiler optimizations, -Wall, -Werror.
Added man/CMakeLists.txt to install man pages.
Merge branch 'master' into cmake
Merge branch 'master' into cmake

Conflicts:
	.gitignore