update Rest and add .htcaccess file.
Merge branch 'master' of github.com:wenzhixin/simple-rest