let user select wallet file with -wallet=foo.dat

Ported from: https://github.com/bitcoin/bitcoin/pull/1889/commits
Merge pull request #227 from dogecoin/develop

let user select wallet file with -wallet=foo.dat