AgentWrap: implement set_query(key_id) for reverse lookup.
TrieWrap: add method map(buffer) to load trie from memory buffer.
bump version to 0.1.2.
Merge pull request #2 from lotem/master

Implement some missing APIs.