Failing test for running take_over twice.

When user manages to run take_over twice with the same arguments,
tak_over creates an orphan.
Make take_over idempotent (fixes #617).
Update branch.sql to delete the offending users.
Merge pull request #1883 from gittip/take-over-creates-orphan

Failing test and fix for running take_over twice.