commands popularity balancer

Calculate the position of Action processor in processing queue by popularity of the command. For this command we need an additional database table, and more flexible system of commands priority than the current one.