Basic parsing of custom URLs in place

First effort to determine what kind of URL has been received. I still
don't know what to do with them once I've figured out what they're for,
though.
Fix crash on first start of qt wallet

Was crashing because it was trying to open wallet "default" before it
exists.