Removed first part of path from json

Probably want to change it so it removes the right length depending
on the relative path to the inventory directory
Added children of itemgroups
Changed function name to follow pep8
fixed loading page and comparing undefined as a string
Added ability to return data about item Trees
added "/" path for index.html to make it nicer