update ipynbdoctest to v4 of the notebook format
Currently tests/python/ipynbdoctest
only supports version 3 of the notebook format, because that was the maximum format supported by the stable version of Debian two years ago. Today we should be able to switch to version 4, which is also the current version, and will save us the trouble of having to convert notebooks to old versions every time we update them.