Add NDS FLUSH/SNAPSHOT commands

Seemed like a relatively straightforward thing to do.
Greatly simplify the RDB load/NDS interaction

The previous way was buggy and prone to all sorts of oddball behaviours.
This way, while taking a bit longer, should be a lot more robust.