added segment definition creation
segment definition creation and viewing works, restricted to non-vips for viewing exploding queries
Merge branch 'segmentation'

* segmentation:
  segment definition creation and viewing works, restricted to non-vips for viewing exploding queries
  added segment definition creation