isPlainObject doesn't return true for functions

Code taken from
https://github.com/madrobby/zepto/blob/master/src/zepto.js, like the
extend function