Make ticket renewals work based on renewal ticket time and end time

Ticket: #4715

Conflicts:
	nanobsd/Files/etc/crontab