Implement rowsAffected for Android < 11

Implements rowsAffected using a pretty basic
regex + extra SELECT query strategy. It's not
perfect, but it passes a pretty impressive suite
of unit tests, and the query it executes is
wrapped in a try/catch, so it's better than nothing.