Port onlinebible_text to C++ and write unittests