core: use python2 for now

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
core: fix class function call

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
core: python version check corrected

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>