Added preliminary support for extension bundle debugging and packaging.