Moved iteration code for better no-rebuild support

Signed-off-by: Mark Nelson <mark.nelson@inktank.com>
Added new rbdfio test

Signed-off-by: Mark Nelson <mark.nelson@inktank.com>