Core: Add hasOwnProperty to isPlainObject for Android < 4.0