Fix for #504 - this refactors api.routes.loadRoutes so that the function...

... works as expected with the inclusion of api.config.routes. api.config.routes takes precedence over a routes file in the root directory and the user is warned of duplicate routes files.