Added Get<T> method to ScriptHost and tests. Introduced IScriptHostFacto...

...ry and introduced it in several places in code and tests

Fix for #160