string::assign appversion to alephversion and enhance prefs unit tests

Existing Prefs unit tests didn't catch an append bug in libchrome's
file_util::ReadFileToString().  Change the get/set tests to verify idempotence,
the Prefs tests now fail without a fixed libchrome.