Use config transaction to speed up snippet loading

Wrap Config::transact around the loading and unloading of all snippets files.

Refs atom/atom#4666