move rating to static controller
fixed tests involving users controller and user_opinions controller
merged jd_refactor with master