Fix xray grid layout

Create a filter (from
https://groups.google.com/forum/#!topic/angular/LjwlVYMulN8,
http://codepen.io/pulkitsinghal/pen/JjmED/) that lets you group arrays
into groups so you can display them in rows. Added this to the X-ray
show page, so that now the grid sits nicely.
Fix X-ray grid layout on edit page