Fix imports for ReviewBoard 2.0.x and drop unused dashboard hooks