introduce DEntity.keySet method

and refactor DEntity.toMap in terms of keySet
Merge pull request #27 from pellucidanalytics/topic/Entity.keySet

introduce DEntity.keySet method