src: Centralize version number

As of this commit, the library's version number is defined in
src/version.hpp, and is propagated to waf/sphinx/doxygen.

Change-Id: I6513cc5a15f2c2afa7cf33844e85d199630fe559
Fixes: #1464