Simplify version information

Use a single string to encode version instead of major, minor and build.
Add tool to extract version from hex file