Update route-recognizer

The updated route-recognizer no longer relies on the isArray and indexOf
methods of Array. Should help with IE8 compaitability.