Update version numbers to 5.0.5

This should be the last PR merged before 5.0.5 is tagged.