Whitespace cleanup per https://secwiki.org/w/Nmap/Code_Standards
Wrap long lines
Avoid creating new lookup tables with every call

Making big lookup tables local to the file, not the function, saves
creation and destruction of new tables with every call.
Some unpacking efficiencies
Merge pull request #2 from bonsaiviking/enip-fix

Enip fix via Bonsaiviking (big thanks) -- tested all changes, works as previously designed.