code: func (mc MongoClient) ScrubAllIntervals() (int, error) {
  	s := mc.session.Copy()
  	defer s.Close()
  
  	// Ensure we have removed interval actions first
  	count, err := s.DB(mc.database.Name).C(db.IntervalAction).Count()
  	if count > 0 {
  		_, err = s.DB(mc.database.Name).C(db.IntervalAction).RemoveAll(nil)
  		if err != nil {
  			return 0, errorMap(err)
  		}
  	}
  	// count the number interval(s) were removing "overwrite interval actions count"
  	count, err = s.DB(mc.database.Name).C(db.Interval).Count()
  	if err != nil {
  		return 0, errorMap(err)
  	}
  	_, err = s.DB(mc.database.Name).C(db.Interval).RemoveAll(nil)
  	if err != nil {
  		return 0, errorMap(err)
  	}
  
  	return count, nil
  }
docs: // Removes all of the Intervals
  // Removes any IntervalAction(s) previously not removed as well
  // Returns number Interval(s) removed
  // UnexpectedError - failed to remove all of the Interval and IntervalActions from the database