Moved to Nett 4.0.7-final

We'd been working off Beta3 and a number of things had changed
since then. This updates the dependency to 4.0.7 final and
makes the necessary changes in our code.