feat(Context): Add ability to set the Type for the rootScope context
feat(scope): move domWrite and domRead from RootScope to Scope

Closes #1161