Adds statistic model, moves in page queries into statistics model. Updates markup to put tabular data into tables and implements datatables for client-side column sorting. Moves modal calls to bootstrap and jqueryui from prototype, where appropriate. Updates API files to return json / removes api files that are handled in page.