ENH: Added dictionary to help format VisTrails enum ports

- More error handling
- PEP8 formatting
- Improved dictionary to help format general VisTrails ports