code: function getRoutes(appName) {
      if (appRouteCache[appName]) { return appRouteCache[appName]; }      // if route info already cached, return that
  
      var appConfig = appConfigs[appName];
      var routes = [];
  
      _.each(appConfig.routes, function (route) {                 // loop through routes in the .app file
          _.each(route.urls, function (urlPattern) {              // create separate routeInfo for each URL
  
              var urlRegex = convertUrlPatternToRegex(urlPattern);
              routes.push(_.extend({
                  urlPattern:     urlPattern,
                  urlRegex:       urlRegex,
                  layout:         route.layout || appConfig.defaultLayout || appName,
                  wrapper:        route.wrapper || appConfig.defaultWrapper || 'server.page',
                  strip:          route.strip || appConfig.defaultStrip || true,
                  contentType:    route.contentType,
                  data:           route.data || appConfig.data,
                  serverOnly:     appConfig.serverOnly
              }, route));
          });
      });
  
      appRouteCache[appName] = routes;
      return routes;
  }
docs: Get array of routes for app. This is essentially information from
  the main app config file that is the root dir of each app (i.e. in
  the {projectRoot}/app/{appName}/{appName}.app.js file)
  
  @param appName
  @returns [] Array of routeInfo objects