start of make constants thingy
make_constants working for both functions and methods. basic unittesting in place to verify co_consts is correct. Still need testing to ensure IO is identical for complicated functions before and after modification.