CMake build files + Mac OS X Build Support

With these files you can now build name coin on OS X and potentially linux via cmake.

* the patch should be tested to see if it works on linux (it should)
* the patch assumes mac ports was used to install bdb 5.2