Merge pull request #4128 from pchote/deb-fix

Fix debian package and packaging.
Rewrite our Equals implementations so they don't crash when comparing incompatible objects
Replace some Where-FirstOrDefault chains with a single call to FirstOrDefault
Remove constructor base() redundancies
Remove unused usings
Add missing license notice to ResourceClaim.cs
Rename type parameter "ValueType" to "T" in HackyAI.cs
Remove some misc redundancies
Fix closure removal in Download.cs
Fix a stack overflow
Fix a few spelling errors
Fix HackyAI confusing an empty sequence for null
Merge pull request #4130 from ScottNZ/lua-wip

Rewrite our Equals implementations
Merge pull request #4129 from ScottNZ/refactor

Refactor
Remove runtime mod merging. Closes #3421.
Stylecop clean Mod.
Stylecop clean Manifest.