Avoid a bunch of copying/conversion in script/sign
Make sure that GetRandomBytes never fails

We're using GetRandomBytes in several contexts where it's either
unwieldy to return an error, or an error would mean a fatal exception
anyhow.

@gmaxwell checked OpenSSL a while ago and discovered that it never
actually fails, but it can't hurt to be a bit paranoid here.
Merge pull request #5210

1f84793 Avoid a bunch of copying/conversion in script/sign (Pieter Wuille)
Adding license.
Adding const.
Merge pull request #5249

38c62ae Adding const. (sinetek)
Merge pull request #5239

65e3a1e Make sure that GetRandomBytes never fails (Wladimir J. van der Laan)
Merge pull request #5246

a8a5e01 Adding license. (sinetek)
Don't show wallet options in the preferences menu when running with -disablewallet
Merge pull request #5245

d52f072 Don't show wallet options in the preferences menu when running with -disablewallet (sinetek)
Merge remote-tracking branch 'bitcoin/master'