fix error for when no stats have been collected yet and /_stats is queried
fix error for when no stats have been collected yet and /_stats is queried

git-svn-id: c1f8a8ec0b3bb2e99ab3413722f81f687760e79c@749412 13f79535-47bb-0310-9956-ffa450edef68

KlausTrainer/bigcouch,linearregression/bigcouch,PerilousApricot/bigcouch,Asquera/bigcouch,Gussy/bigcouch,fkaempfer/couchdb,breezjw/bigcouch,benoitc/couchit_experiment,PerilousApricot/bigcouch,andrejb/cloudant_bigcouch,breezjw/bigcouch,Gussy/bigcouch,cloudant/bigcouch,davidcoallier/bigcouch,Gussy/bigcouch,breezjw/bigcouch,KlausTrainer/bigcouch,breezjw/bigcouch,bittorrent/bigcouch,davidcoallier/bigcouch,cloudant/bigcouch,bittorrent/bigcouch,andrejb/cloudant_bigcouch,linearregression/bigcouch,kofron/bigcouch,benoitc/couchit_experiment,kofron/bigcouch,PerilousApricot/bigcouch,andrejb/cloudant_bigcouch,bittorrent/bigcouch,benoitc/bigcouch,fkaempfer/couchdb,linearregression/bigcouch,Gussy/bigcouch,georgemarshall/bigcouch,fkaempfer/couchdb,benoitc/bigcouch,KlausTrainer/bigcouch,georgemarshall/bigcouch,davidcoallier/bigcouch,georgemarshall/bigcouch,linearregression/bigcouch,cloudant/bigcouch,KlausTrainer/bigcouch,benoitc/couchit_experiment,cloudant/bigcouch,kofron/bigcouch,Asquera/bigcouch,PerilousApricot/bigcouch,benoitc/bigcouch,benoitc/bigcouch,davidcoallier/bigcouch,benoitc/couchit_experiment,breezjw/bigcouch,Asquera/bigcouch,breezjw/bigcouch,andrejb/cloudant_bigcouch,linearregression/bigcouch,Gussy/bigcouch,PerilousApricot/bigcouch,KlausTrainer/bigcouch,linearregression/bigcouch,benoitc/bigcouch,davidcoallier/bigcouch,KlausTrainer/bigcouch,fkaempfer/couchdb,bittorrent/bigcouch,linearregression/bigcouch,Asquera/bigcouch,davidcoallier/bigcouch,Gussy/bigcouch,fkaempfer/couchdb,benoitc/bigcouch,bittorrent/bigcouch,cloudant/bigcouch,andrejb/cloudant_bigcouch,kofron/bigcouch,bittorrent/bigcouch,andrejb/cloudant_bigcouch,kofron/bigcouch,kofron/bigcouch,andrejb/cloudant_bigcouch,Asquera/bigcouch,fkaempfer/couchdb,benoitc/couchit_experiment,cloudant/bigcouch,PerilousApricot/bigcouch,georgemarshall/bigcouch,georgemarshall/bigcouch,Asquera/bigcouch,georgemarshall/bigcouch,cloudant/bigcouch