Fixed scoping and resolvers #425

Solution basically is the inside out version of what it was before - now
instead of resolvers relying on injection for values, it's the other way
around the injection relies on resolvers.

Various cleanup associated with moving stuff around.

Added minimal code to launch embedded jetty during unit test, however
not running any tests at the moment.
Merge pull request #439 from lev-kuznetsov/master

Fixed scoping and resolvers #425
Merge remote-tracking branch 'upstream/master'