Inplace mode for _int_to_bn

Mostly useful for working with (EC)?DSA_SIG right now
Merge pull request #938 from public/bn-inplace

Inplace mode for _int_to_bn