Cleaned up CMake helper scripts and added BerkeleyDb support.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-cmake-experiment@10916 ddefafc4-47db-0310-ae44-fa13212b10f2
Added boilerplate support for generating a config.h file. Not all values have been ported from autotools yet.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-cmake-experiment@10917 ddefafc4-47db-0310-ae44-fa13212b10f2
Fixed broken CMake test for monotonic clock.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-cmake-experiment@10918 ddefafc4-47db-0310-ae44-fa13212b10f2