Refactored out getViewsStorePath() func.
Added clearViewsStore() on any ddoc change.