support regular expressions in opts.extensions
Provide RegExp extension patterns access to the whole URL

This allows signalling via query-string and hash params.
Merge pull request #7 from maranomynet/patch-1

support regular expressions in opts.extensions