Added isEmpty() method on JSONObject and JSONArray classes

I have added these isEmpty() methods for JSONObject and JSONArray classes and have been using them on production environment with no trouble , for a long time. 

Actually i also make this pull request to learn why there is no isEmpty method on these classes.