wpa_supplicant: refactor settings, readline support (on by default)

I know there's 2.0 version but doesn't seem ready yet. And these changes probably won't be lost.