Use isPlainObject instead if isObject

Becouse isObject([1,4]) == true, better use isPlainObject method for detect options in first argument.
Merge pull request #1 from anru/patch-1

Use isPlainObject instead of isObject