Some refactoring to decouple shell from engine logic and to wrap the javax.script classes so that they work in OSGi

git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@450629 13f79535-47bb-0310-9956-ffa450edef68
15 files changed