bugfix: stack being popped twice in op_hash256
switch to oauth sha1 code.

Conflicts:
	test/hash.cpp
copied non-ssl base58 functions from satoshi src + added unit tests.
tidied up base58 encoding.