Move Trie code into specific files that use it

Instead of having a bunch of stuff in BitmappedVectorTrie.jl, it now
contains only general functions. Dense tries are now defined in
PersistentVector.jl, Sparse tries in PersistentHashMap.jl.