Make the Router to work even in a subdirectory. Fix #406.

If Underscore.js includes a regex escape function (see https://github.com/documentcloud/underscore/issues/954) we can use it.