fixed nullptr check to addNeighbor method
removed duplicate methods for returning edge length
Removed obsolete CMake options for doxygen.

These options are automatically set to yes if dot was found.
Dot tool gets already searched when searching for doxygen.
Fixed order.
Fixed some doxygen warnings.
Merge pull request #323 from bilke/doxyfile-fix

Some fixes for Doxygen