Update React to v16 and move from react-datepicker to react-flatpickr
This supersedes !503 (closed) and !479 (closed).
Everything should be working fine, as far as I tested, but would definitely deserve a second check.
Closes #694 (closed) and #691 (closed).
Edited by Phyks