Add support and spec for dependson

This comes from the properties because getting it in
as an optional keyword argument is awkward in ruby.
Not ideal, but probably sufficient.