Rating and Subject fixes

- Added sorting so that Subject view will show units from highest rating
to lowest
- Subject view now shows rating percentage and number of votes
- Up/Down rating is now button to call set_rate_up/down function through
POST, unit id for function call obtained through hidden field
- unit_m now includes rate_status data before sending back to main
(previously a separate function call from controller, now $unit that is
passed from controller to view contains rate_status data)