Powershell  scripts as conditions in OnlyIfs.

Added functionality for letting powershell script be a condition in OnlyIfs. When script returns true, condition is fulfilled and the rest of the sequence is executed. No impact on existing conditional OnlyIf-functionality.
Instead of keeping state for condition in a global variable, I would return bool.