function_exists check in function-mocks.php

Checking for function_exists before declaring standard WP functions
allow a plugin/theme using WP_Mock to be installed and activated in WP.
Standard testing workflow (run tests outside WP) isn't affected at all.