3.0 Add pj() to functions.php

Similar to https://github.com/steinkel/cakefest2014/blob/advanced/config/bootstrap_cli.php#L26
== operator use type casting and it's 2x slower on PHP 5.4 according to this
http://micro-optimization.com/equal-vs-identical-comparison-operator

Also, loose comparison can lead to bugs, like (0 == "cli") being true...