Add control for re-selling tickets.

* Filtering already selled tickets when creating a sell object.
* Checking for duplicate entry when selling tickets.