Undo previous changes and add restart parameter to dataman command

Undo changes to px4io.cpp, fmu.cpp, and rcS.
Add poweronrestart and inflight restart parameters to dataman command.