Spring clean functiondump.lua

- Simplified the xside variable into one relatively simple line
- Removed a duplicate line in XSide( class, name )
- Uniform scripting style