tree directive refactor and spec tweaks
new icons and css file, moved javascript to js folder, sample index.html