lang: fix re-raise exception for python 2 and 3 + correctly report line number now, and removing kivy.lib.debug module from flask.