Dependency check

Make sure the engine is independent from the engine server. Requires https://github.com/gem/oq-commonlib/pull/38. Bug https://bugs.launchpad.net/oq-engine/+bug/1370312.
Tests are green: https://ci.openquake.org/job/zdevel_oq-engine/740/