adding TestableSettingsIndicatesApplicationTest()

Let's use this to check if a test target is actually an application test
or not.  This replaces all the instance where we would blindly check to
see if the TEST_HOST key was non-nil.