Added doxygen support to cmake configuration.

The Cmake ENABLE_DOC flag can now be used to build doxygen
documentation.