improve StaticDir config file parser.

New style is like
StaticDir =  css:static/css  js:static/js     img:static/img.
之前的实现只能将/css映射成css