Write warnings to stderr instead of stdout.
Fix test_particle_restart.
Add release notes for 0.5.2 and increment version numbers.