Allow SQL-style queries in the segment builder



I think the container method currently used in the segment builder is a bit confusing and under-powered for many segmentation needs. How about allowing SQL or have a SQL style builder to create segments. Would probably need a validator of some kind to return the expected counts and a small preview of results.