More documentation and quantum random numbers

Added more documentation to Mt. Gox API and keystore code, finished
implementing quantum random number generator used to generate the IV
for encrypting API keys. Also refactored encryption code to encapsulate
IV generation