works down to IE6

I pulled the `isFunction` implementation from `object-keys` into it's own module, used it here, and now this *should* work all the way down to IE6.