Fix SwapEndian16()

- Ensure width of Swap* return values.
- Add cheeky testsuite to TestTextUtils for expediency.
TestTextUtils: fix ws.
Os.h: Fix mask constant inconsistency.