Drop TreeItem's refresh_stats

Evernote uses it in refresh_stats management command, but we changed it
to refresh count fields on DB instead of calculating everything and
save the results in the cache engine.
We never pass a submission to _get_last_action
Simplify _get_last_action

There is no need to perform several queries.