some typecasts and adapters fixes
some fixes in types_basic for python2
decimal fix
__str__ fix for python3