Cache Aho-Corasick dictionary objects

Caches cdata objects at the module level. This increases performance
by over 100% (dictionary creation is expensive).

Also uses the C++ FFI library provided by aho-corasick-lua instead
of the pure module level.