add rootPath option to enable serving under a sub_dir
fix hrefs and links due to rootPath opt
specific flask version