implement --before and --after meta parameters as alternative to require=""

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remove legacy code snippet: singleton object_ids have been removed in master

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
--whitespace

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
missing import

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
usable output on unresolved objects error

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
even nicer output

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
use pformat or even nicer output

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
bugfix: make --before actually work

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
update tests

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>