Add version decoding and corresponding unit tests.
Add solution-level architectures x86 and x64.