Add parse_array_stop(), necessary for determining array length in mysql_json

I added methods which shouldn’t affect anything else. See https://github.com/teliseo/mysql_json/commit/f2f5a2a7aa633d75141ae5cabde25f75e2ec6ab1 for use of this.