mod_development: Fix crashing file watcher process while editing templates

Also only flush the cache of a particular site when a new template
within a site has been found.
mod_admin_predicate: Fix category tree for fluid layout change

Fixes #586