[api] Remove api/v1 directory, move inventory_units controller to correct spot
Ensure option values in Variant#options_text are sorted in a predictable order

Fixes #2432