Move models to root directory.

The shared directory was a vestige of the old proxymachine based setup
that's no longer in affect.
Remove ApiRequestLog model since it's no longer used.

This has gone away since log data now goes into ElasticSearch.
Fix a couple XSS possibilities in the datatables.