support creating hierarchical project structure
fix a bug in recursion checking
update queryProjectDetail.html to show hierarchical project