rewrote +pidForApplication: to use +runningAppInstanceForApp
rename method to runningApplicationInstanceForAppName:
check for non nil app instance