User string.indexOf instead of RegExp.

Using a RegExp to test for a value within a route causes problems if
param values contain regex characters (e.g. the value x* will match
anything).
Also, checking param instead of value fixes situations with undefined
values.
Merge pull request #15 from tcmitche/bugfix/replace-regex-with-indexof

User string.indexOf instead of RegExp.