Updated tests. test rig now much more closely resembles the real setup.
Added storages to shotgun, pipeline configuration etc and better 
global hooks to tie in the mockgun abstraction.
Fixed a variable naming bug.
More tweaks to tests.
More improvements to tests.