Remove legacy Risk code.

Necessary to do in the course of [75379724](https://www.pivotaltracker.com/story/show/75379724).  Legacy risk features from Rails app were interfering with new functionalty, and should be removed from the codebase anyway.