Replace "unsigned short" with uint16_t, "unsigned int" with uint32_t, and "unsigned long long" with uint64_t.
Also added tests for big-endian-conversion functions.
Also added unit tests for arg parser.