add `type` module with `$.isFunction` and `$.isArray` methods

(not sure about necessity to implement other `is{Type}` methods)