Merged nrmllib inside commonlib

See https://bugs.launchpad.net/oq-engine/+bug/1379827
The tests are green: https://ci.openquake.org/job/zdevel_oq-commonlib/141/
Notice the companion PR on the engine: https://github.com/gem/oq-engine/pull/1549
I have replaced the generic `registry` with the more specific `nodefactory`