Add test_instance_get_active_by_window_joined

This adds a unit test for previous untested method
nova.db.sqlalchemy.instance_get_active_by_window_joined

Change-Id: Ib5826b34bba8e93d2966963c696a20df29501771
Merge "Add test_instance_get_active_by_window_joined"