Added view template,

Added support for a view template
Improved folder handling
cleaned up code to better handle updated tiddlers