Refactoring.

Broke some classes from core, so that core is just atoms.  The operator and rule libraries, and the context and native compiler, are now in the new context package.  Also rewrote the compilable context stuff to generate the context in stages.