HTML Purifier included in functionality

Spaces are urlencoded in title for uri-friendly links.
Improvements page + article

Improved article and page editing and added more functionality to auth
and the system. Also added the Smarty debug.tpl for smarty-template
debugging