Last mile for test failures

Add stubs.php to include stub classes for built-in PHP classes used
throughout the code. This will allow the testing suite to verify that a
method exists, albeit not in our codebase
Merge pull request #732 from greezybacon/feature/test-pass

Last mile for test failures

Reviewed-By: Peter Rotich <peter@osticket.com>