Fix myriad of minor issues.

Fixes https://github.com/SpongePowered/SpongeAPI/issues/221.