Allow `get_page_by_path()` and `get_page_by_title()` to accept an array of post types. Fixes #24763. Props zbtirrell.

git-svn-id: https://develop.svn.wordpress.org/trunk@27423 602fd350-edb4-49c9-b593-d223f7449a82