Move the SettingsModel into the library.

So that other applications can easily display qbs settings
as well.

Change-Id: Ic5e4ab5354f7879df29c90407905fc50b5546796
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>