More base64 enhancements and fixes

Convert to using CodePointIterator, slim down tests, remove unused code