mcjoin: Add --restart=N option for periodic restart

Signed-off-by: Magnus Öberg <magnus.oberg@westermo.se>
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>