update reademe;fix some bugs;

update readme;
fix history back/toward bugs(partly);
fix bugs which occur if the app install at the root of a domain;
...