Initialize tabs using PatApp::setAppState

This applies when switching tabs and opening new projects.
Merge branch 'PAT-EC2' of https://github.com/NREL/OpenStudio into PAT-EC2