Updating thinktecture dependency

Thinktecture's `beta4` release sees a number of changes to how things like DI, IScopeStore and Token's work, meaning that this no longer works.

I've updated to the latest version of Thinktecture (beta4) and refactored the code to work. All tests passed locally.