[POC] Added support for embedding the shell

Enables the PHPCR session to be set externally and provides a more minimal application which can be envoked from a "parent" application.
I assumed they were required by the interface, removing.