Move flow states to developers documentation

- Move Flow States documentation from wiki to development docs
- Add Retry States section

Change-Id: Ie60dbbae9290ed3a49e6e58037a1a977a83850d8
Merge "Move flow states to developers documentation"