Fix getInfoForObject to not change the Object prototype

to prevent calling `getInfoForObject` on `Object.prototype` from
creating `_montage_metadata` and causing future calls on objects
that don't have _montage_metadata to return that empty object.
Merge pull request #1232 from Stuk/getInfoForObject

Fix getInfoForObject to not change the Object prototype