Updating templates to new look

Updated all other templates to fit with how the aggregated sql page
looks, including working breadcrumbs.
Fixed sorting bug.