rewrote +[CWApplicationRegistry applicationIsRunning] to use NSPredicate instead
rewrote +[CWApplicationRegistry pidForApplication:] to use NSPredicate
documented initent of test and why locking was required