Update fetch-wt.js to fetch by title, use optimist, etc.

Change-Id: I0283867b88ef6e2dfa2c5832374250db6aaa2a68