Add 'SyncedMap' (fixes #43)

The SyncedMap class implements a simple key-value store on top of
PrefixTree.