[fix bug 1066865] Ignore snippets that link to about:accounts when sync is setup.

As in moving all this code for getting the configuration of sync into a function to make this section of the code easier to read.