Move common MediaMeter views to views.py.