Moved all the stage dep checking into the stage functions themselves.

This enables us to execute all stages within the same environment. No
longer do we need to source the package opm for each stage.
Merge branch 'feature/move-stage-deps' into develop

Conflicts:
	usr/lib/opm/lib.sh