New shared_test_cases and shared_test_plans table

With MVCs and a few tweaks to some views.
Merge branch 'master' into leaf-dev