Add unit tests and fixes due to unit tests

Adds unit tests for AirLoopHVACUnitarySystem along with various bug
fixes due to the unit tests.