[ExternalStore] Various cleanups to ExternalStore class.

* Removed redundant $wgExternalStores check
* Fixed broken (though unused) insert() function
* Added more documentation
* Other small cleanups

Change-Id: I0be5d9ebecd58b4f5673a6205f46bb7368d889c8