Add export feature to osTicket
Several fixes for the CLI manager and module class