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

Ported from: https://github.com/bitcoin/bitcoin/pull/1889/commits