Made numerous Python scripts in utils work with either 2 or 3.
Write warnings to stderr instead of stdout.
Fix test_particle_restart.
Add release notes for 0.5.2 and increment version numbers.