Update GraphDatabase.js

####Changes
+Added some comments
+Added read method, byKey() function to get object key/value pairs
+Redesigned _parseEntities() method to return object key/value pair for UID only
+Adjusted all other methods to implement the redesigned parseEntities() method