Fix BatText.find, rfind, split, rsplit, and nsplit.

Fixed the BatText functions, which are IMHO immature and strange(?), and added some tests