allow to set account details, cleanup

Change-Id: I6dd6589f78329e0113ee38fbaa8535abd6b37589
diff --git a/model/Account.js b/model/Account.js
index c2883d2..e40be7c 100644
--- a/model/Account.js
+++ b/model/Account.js
@@ -45,6 +45,18 @@
 
     isPublicIn() { return this.details["DHT.PublicInCalls"] === Account.BOOL_TRUE }
 
+    setDetail(detail, value) {
+        this.details[detail] = value
+    }
+
+    updateDetails(details) {
+        return Object.assign(this.details, details)
+    }
+
+    getDetails() {
+        return this.details
+    }
+
     getSummary() {
         return this.getObject()
     }