let _safeProtoExtend function safer.

_safeProtoExtend function will reset a non-exist function to 'undefined', so it is not safe enough.
Merge pull request #5 from jinze/patch-1

let _safeProtoExtend function safer.  thx jinze