py: Implement parsing of infinity and nan for floats.
py: Allow 'complex()' to take a string as first argument.
py: Improve mp_parse_num_integer; make it self contained.