Stiftungssatzung, rechtliche Grundlage