Added tests of JsonArray::invalid() and JsonObject::invalid()
Removed unused function
Merge branch '4.0' of github.com:bblanchon/ArduinoJson into 4.0