Appropriate ordinals processing in Russian and Ukrainian

As suggested by @timrwood in comments to #809, I've written functions to match ordinals format for Russian and Ukrainian and modified the tests appropriately.