Fixing build errors due to qsharedptr (this might be Visual Studio 2008 only) and in PAT

The PAT fix requires adding openstudio_lib as a dependency of PAT.  @kbenne does this seem legit? @evanweaver do we have to use MeasureBadge in pat_app?  Is there any way to avoid this?  Having to add this dependency should make us evaluate the layout of these classes.

[#69654902]
Merge branch '69654902_ApplyMeasureNow' of github.com:NREL/OpenStudio into 69654902_ApplyMeasureNow