Make Magic#version_array and Magic#version_string a singleton methods.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>