add castTo<> and a more general ctor to util::Reference