Add btrie:find_prefix/2

Move trie:find_prefix/2 to trie.hrl and make it generic.
Add btrie:find_prefix_longest/2

Move trie:find_prefix_longest/2 to trie.hrl and make it generic.
Fix a few small issues.
Merge branch 'master' into mniec-trie-btrie_prefix_find