Fixed when using null in LocalStorage

When using getState in localStorage, the value is a string 'null', so when we have the tour_end value stored the ended method is always true, even when is null. This pull request fix it.

      Tour.prototype.ended = function() {
        //always true because the value is the string 'null'
        return !!this.getState("end");  
      };