code: function paramsFromStringPath(path, paramsObj) {
          //Get all the parameter names from the path.
          var elements = path.split('/');
          var params = elements.reduce(function(params, element) {
              if (element.charAt(0) === ':') {
                  var paramName = element.slice(1);
                  params.push(paramsObj[paramName]);
              }
              return params;
          }, []);
          return params;
      }
docs: Given a certain path and a paramsObj (from the request object), create an array of parameters. /someUrl/:foo/:bar -> (params.foo, params.bar)