Fix String.match() with non-regex parameter, add Regex.exec result properties

Cleanup of @micnic's #485. Fixes #482