A tree planting project aimed at restoring rare temperate rainforest habitat on the Isle of Man has been completed following a three-year community effort.