Fixed problem that PagesServlet couldn't provide index.htm and index.mkd.
Fixed problem that PagesServlet couldn't provide contents written in markdown correctly.
Improve index page strategy in PagesServlet.