Add type annotations to some pynuodb methods and some pep cleanup