fixed history search and added priority to tree
Merge branch 'master' of https://github.com/jed15/socialwiki

Conflicts:
	renderer.php