DictRegistry dictionary compatibility

* Adds methods to DictRegistry to make interface more
  compatible with a standard Python dictionary (closes #15).

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>