How can family foundations avoid trouble with regulators? Awarding scholarships can be a serious red flag. So can allowing board members, staff or friends to fulfill personal pledges with foundation grants.