Added support for board definitions that use extend. Extended the API to pass more complete devicetree context information from the build configurations. Removed some undocumented obsolete features.