Add handling for signed integers to newint.to_bytes and newint.from_bytes

I needed these methods for a project. This should only change the behavior for signed, unless I messed something up...