core: Listen on primary-store settings changes

https://bugzilla.gnome.org/show_bug.cgi?id=731470
tests: Add test for primary-store setting changes

https://bugzilla.gnome.org/show_bug.cgi?id=731470