[security] Tree enhancements

Extracted tree to a customizable library
aclBit files have a more visible blue background
Path is in window.hash and the page can be refreshed