IDEX-706, IDEX-811: Rework project tree model; get rid of client Resource API and use Project API directly instead