JSDoc and better code for WalletFactory
Merge pull request #1287 from eordano/beauty/WalletFactory

JSDoc for WalletFactory