Add a set of simple version comparison helpers These version helpers help to compare major.minor style version numbers, without the need for open-coded and error-prone bitshifting, multiplication, and similar. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>