Allow the VT tests to run on OSX
Factor out into a function the current number of PTY's detection code
Merge pull request #14389 from s0undt3ch/hotfix/osx-pyt-nr

Allow the VT tests to run on OSX
Skip vt_test in os x - still needs some work to run
Merge pull request #14442 from rallytime/skip_vt_test

Skip vt_test in os x - still needs some work to run
Merge branch '2014.7' into develop