Update hasEverConnected for wifi networks
Set hasEverConnected to true for a network that completes a connection.
Set hasEverConnected to false when a network config changes.
Add tests to confirm hasEverConnected was added on a successful
connection and cleared when connection or credential related
configuration changes are made.
Also removed some unused imports to fix checkstyle issues in
WifiStateMachine and WifiConfigStore.
BUG: 27856374
Change-Id: Ica633166892b4673683f21ff98e3ded1607dedec
5 files changed