Improve trie:pattern_parse/2 error checking.  Change modelines.