Added MSB/LSB conversion code and tests.
Single binary for tests to ensure they all pass.
Merge pull request #4 from dkorolev/master

MSB order for lexicographical time keys serialization.