add -wallet option

ported from bitcoin 0.9.0
https://github.com/bitcoin/bitcoin/blob/0de61e7585e14cb552e985934fc5ddfeb6e8bd67/doc/release-notes/release-notes-0.9.0.md
 - Let user select wallet file with -wallet=foo.dat