buildContext return promise for when all dependencies are resolved. Moved test contexts to context files. Prune unused packages. Add support for parsing contexts from files.