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.
Simplify _get_last_action

Since we never pass a submission to it.