Added build targets for 'extensions'. Moved some of the disabled code from slvm.c to new extension modules in preparation for a plugin architecture.