Initial minor refactor to satisfy linters:
Initial minor refactor to satisfy linters:

- Capitalize instances of initialisms
- Change inv/item structs to non-exported
- Further error checking
- Avoid variable shadowing

cmacrae/xur-notify