shill: Add SIMLockEnabled to the SIM lock status properties and emit changes.

This patch replaces the StrIntPair class with the more generic KeyValueStore and
updates cellular's SIMLockStatus property to include the enabled key/value pair.

BUG=chromium-os:25850
TEST=unit tests

Change-Id: I2662cb468807e3afa04c3699e323f31282e1a50e
Reviewed-on: https://gerrit.chromium.org/gerrit/15325
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Eric Shienbrood <ers@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
diff --git a/property_store_unittest.cc b/property_store_unittest.cc
index 99fa5f0..9dc0b31 100644
--- a/property_store_unittest.cc
+++ b/property_store_unittest.cc
@@ -20,7 +20,6 @@
 #include "shill/mock_control.h"
 #include "shill/property_store.h"
 
-using std::make_pair;
 using std::map;
 using std::string;
 using std::vector;
@@ -39,6 +38,9 @@
 const ::DBus::Variant PropertyStoreTest::kInt32V =
     DBusAdaptor::Int32ToVariant(0);
 // static
+const ::DBus::Variant PropertyStoreTest::kKeyValueStoreV =
+    DBusAdaptor::KeyValueStoreToVariant(KeyValueStore());
+// static
 const ::DBus::Variant PropertyStoreTest::kStringV =
     DBusAdaptor::StringToVariant("");
 // static
@@ -51,10 +53,6 @@
 const ::DBus::Variant PropertyStoreTest::kStringsV =
     DBusAdaptor::StringsToVariant(Strings(1, ""));
 // static
-const ::DBus::Variant PropertyStoreTest::kStrIntPairV =
-    DBusAdaptor::StrIntPairToVariant(StrIntPair(make_pair("", ""),
-                                                make_pair("", 12)));
-// static
 const ::DBus::Variant PropertyStoreTest::kUint16V =
     DBusAdaptor::Uint16ToVariant(0);
 // static
@@ -95,12 +93,12 @@
     PropertyStoreTest,
     Values(PropertyStoreTest::kBoolV,
            PropertyStoreTest::kByteV,
-           PropertyStoreTest::kStringV,
            PropertyStoreTest::kInt16V,
            PropertyStoreTest::kInt32V,
+           PropertyStoreTest::kKeyValueStoreV,
+           PropertyStoreTest::kStringV,
            PropertyStoreTest::kStringmapV,
            PropertyStoreTest::kStringsV,
-           PropertyStoreTest::kStrIntPairV,
            PropertyStoreTest::kUint16V,
            PropertyStoreTest::kUint32V));