Added RegExp#flags and yield sending tests.
Merge pull request #343 from webbedspace/flags

Added RegExp#flags and yield-sending tests.