Rebased cmake patch

Rebased https://github.com/akheron/jansson/pull/104 with master.

Also moved the .h.cmake input files to the cmake directory.

Please note that the suites tests will fail on windows, or on any system that defaults to CRLF line endings. This can be resolved by doing:

    rm -rf test/suites
    git checkout test/suites

Which will result in a re-checkout with proper LF file endings.