Cargoify servo
Refactor python/tidy.py to not use globals. Fixes #3242
Cleaned up python/licenseck.py

- Moved logic into tidy.py
- Removed explicit BSD license exceptions, they are already ignored by
  being inside the codegen directory.