py2llvm: factor repr/same_type/merge for values
test/py2llvm: do all operations in test classes