Add leaves scope

Add leaves scope; convert roots to scope

Oops, use spaces, not tabs.

Select leaves with subquery instead of array conversion and #select

Explicitly list inner node IDs in AR <= 3

acts_as_tree_order => default_tree_order; -legacy AR hack