Update doctest_impl.h

reworking the library to not depend on std::map - switching to a home-grown hash map