Merge pull request #11 from jangxyz/master

FIX response of POST and PUT to accord with _type
Do not append _type param if restype is "default"
Treat wikiquery string as an unicode
Fix problem with editor's first line
Change path and querystring to make URL more meaningful
FIX redirecting to absolute path error

* was: POST and PUT redirecting to relative path on update
* caused: editing page like `page/2` redirects to `page/page/2`
* fixed: add leading slash
Add tests and fix typos
Merge branch 'FIX-absolute-path-redirect' of https://github.com/jangxyz/ecogwiki into jangxyz-FIX-absolute-path-redirect

Conflicts:
	tests/test_handlers.py
	views.py
Fix atom feed
Fix revision history's json representation
Fix revision history's json representation
Make date link parser stricter
Make date link parser stricter
Make date link parser stricter
Make Model.update_content() faster by deferring more tasks
Add support for table
Enable GA's enhanced link tracking
FIX behavior on /sp.search?q=ecog on default restype

- this could even happen on browser, when js is not enabled
Merge pull request #13 from jangxyz/FIX-search-without-javascript

FIX behavior on /sp.search?q=ecog on default restype
Refactor views.py