[core] rewrote get_current_items helper method
[core] rewrote get_current_items helper method

aggregates movements and transactions for all items in a session. This
method is state-sensitive and will treat ItemMovements after a session's
end differently, because those belong to accounting.

c3cashdesk/c6sh,c3cashdesk/c6sh,c3cashdesk/c6sh