Add AJAX sorting to reagents and devices indexes. Move pie charts into Lab view.