Builtin extensions

Allow extensions to be built into WiredTiger, rather than loaded from a shared library.

Not yet ready for merge..