[gantt] [minor] fixes webnotes/erpnext#627
[nested set] [minor] Added validation to test loop in hierarchy
Merge branch 'master' of github.com:webnotes/wnframework