Tentative implementation of restart.

It also better declares dependencies between dtools at_stop tasks.
Add some documentation.
Merge pull request #135 from savonet/restart

WIP: implementation of restart.