Add a getPrototypeOf compatibility function.
Review Request #4167 — Created May 25, 2013 and submitted
Add a getPrototypeOf compatibility function. Older browsers don't have getPrototypeOf, so add a compatibility function for it. This is mostly for IE's benefit. This is based on the other implementations floating out there in the wild, which all seem to be roughly the same.
Tested this function IE9. Seemed to work.