Fixed: check in `validate_ticket` for ticket blocking or blocked by itself was not working correctly due to comparison between unicode string and int.
Removed logic from implementation of `ITicketManipulator` in `web_ui` module to `ITicketManipulator` in `api` module.
Removed `ITicketManipulator` implementation in `web_ui` module.
Organized imports and removed unused imports.