Add support to stop a jail from API

Ticket:	#4618