fixed problem with hierarhcy items missing a menu item not being
displayed, corrupting the order of the page tree in the backend

added recursion optimization for less loops to create tree structure

fixed missing created datetime and userid

added profiling view and action for testing of hierarchy controller