[api] Orders responses now contain the checkout_steps

This is so that API clients have an easy way of listing the available steps for the order, indicating what step they're up to and that sort of thing.
Order transitions should be attempted when on the edit page

Fixes #3336