Fixed #3422 -- Remove some legacy code which is now in 1.0.1 (#3423)

* Fixed #3422 -- Remove some legacy code which is now in 1.0.1

* _int_to_bn doesnt like negatives

* minimize the diff

* some additional cleanup
2 files changed