Add a new endpoint for fetching record tree_view structures
WIP for lazy loading trees
Add a js template to show the record tree nodes
Fix what we toggle when you click toggle
Fix error if tree hasn't been indexed yet. Also show components in the resource navlist
Show components in AO and DOC records.  Pull out previous eager loading code.
Add an icon for the record tree expand/collapse link
Show component menu item unconditionally
Add APP_PATH to support prefix
Don't index the whole tree unless we're indexing a classification
Add a loading image as the record tree pulls in data
Remove unused helper
Exclude unpublished records from tree_view indexing
Fix tree delete request.  It turns out slashes count as whitespace.
When indexing the tree, ensure the direct_children have the correct has_children value by checking the grand children 'publish' value
Rename the tree_view endpoint to published_tree as it now only serves out published records
Ignore .bundle directories globally
Removed redundant has_children property
Merge pull request #629 from hudmol/public-lazy-loading

Public lazy loading