Anoncoin version 0.8.5.2

Upgraded the code and applied a bunch of patches from the Bitcoin source.