Print leading zeroes in hash keys

And convert to uppercase. Reset the stream to dec too.

[Edit: Also fixed the hash key in Position::pretty()]
Merge remote-tracking branch 'upstream/master'

Conflicts:
	src/uci.cpp