Fix logic errors in the vote validator.
If a user account is deleted, all of its votes are deleted as well.
The Bounty factory now takes callbacks for creating its associated objects.