Add SimpleDataModel unit tests and fix bugs

* SimpleDataModel now separates data by context
* SimpleDataModel.list_items() now returs a list of (id, item) tuples

Change-Id: I99c1c2ef53549da0599ea4ce928f7cb098faf3fd