Fix Foundation~defineFields so all properties at are defined at init.
Fix Foundation~defineFields so all properties at are defined at init.

This update defines all properties prior to setting their default
values, and also defines all ancestor properties prior first. This is
important if property default values depend on other properties to
exist.

JoshuaToenyes/stout-core