Change to allow a person to be registered with a team twice as a player and a coach. Also fix bug with csv uploads so that data is flushed to the database for each row. This is so that the code that checks for duplicate registrations can check correctly (it queries the database).