Reorganize files.
Preferences static class + test.
Orgranize test files, add Travis CI.
Travis CI: needs xctool upgrade to 0.1.14