Migrating submissions from old phase to new phase

Ready for functional review/QA/staging!

- [x] Use leaderboard entry as submission to move, if no leaderboard entry grab latest
- [x] `auto_migration` phase flag
- [x] `http://domain.com//competitions/check_phase_migrations` url, pinged every 3 hours
Fixed by Francis