Deal for Ullens Centre for Contemporary Art ends year of uncertainty, and director is hopeful its new status as a foundation will help it raise funds, improve its exhibitions and attract more visitors