fix basePath in lout config

lib/index.js was loading the default lout index and route templates,
despite basePath being set. PR fixes this.