parsing response as json if it is a valid json
Update isFunction and isObj

check their class attribute
pass all xhr object in case of failure
Merge pull request #4 from giulyquinto/develop

Develop