<% if debug? %>
  <article>
    <pre class="application-notice info-notice debug">
      Debug info:
      <% @presenter.current_state.to_hash.each do |k, v| %>
        <%= "#{k}: #{v.to_s}"%>
      <% end %>

      Session store:
      <% @session_store.hash.each do |k, v| %>
        <%= "#{k}: #{v.inspect}"%>
      <% end if @session_store %>
    </pre>
  </article>
<% end %>

<% if debug? %>
  <article>
    <pre class="application-notice info-notice debug">
      Debug info:
      <% @presenter.state.to_hash.each do |k, v| %>
        <%= "#{k}: #{v.to_s}"%>
      <% end %>
    </pre>
  </article>
<% end %>

Update debug for updated state object
Update debug for updated state object

FlowPresenter now uses state rather than current_state as it has no
other types of states.

State now encapsulates the information from a session store so the extra
code isn't needed. This resolves an inconsistency for query string based
flows that weren't output here.
