Add in automatic name-space cache flushing

SwatDBDataObjects should implement getCacheNsArray() to return an name-spaces that should be flushed.