refactor: PreferencesHelper becomes AppConfiguration.

ConfigurationStore added as android-agnostic config interface.
tests: move tests to KegtabTests-JDK project.
FlowManager: fix unittest.
cleanup: fix a few warnings.
Flow/FlowManager: record tick updates as time series; misc cleanups.

Also adds FlowTest.