Allow '+' to appear in APInt strings, and add more unit tests.