Adds support for 'shared' frameworks

Shared frameworks are created and initialized once
per configured instance name.
Merge branch 'shared_frameworks' of git://github.com/Psyop/tk-core into Psyop-shared_frameworks
Merge branch 'Psyop-shared_frameworks' into 25236_shared_frameworks