Properly generate the version number.

The old version #define was treated as a floating-point number, so
that the 'cocaine-runtime -v' command displayed the current version
as 0.1, which was incorrect. Now the version number is made of three
numbers - major, minor and release - which are combined together to
display the effective Cocaine version.
Merge branch 'master' of github.com:cocaine/cocaine-core