Optimize isObject and use in bind

[Same strategy is used in lodash](https://github.com/lodash/lodash/blob/master/lodash.js#L7064-7069)

http://jsperf.com/isobject-vs-typeof/2
Good spotting.