Added confidence function from online example
Renamed type to vote_type because type is a reserved word for model inheritence. Doh.
Wired up voting buttons to create action for votes. Added create action
Added black and grey versions of the vote boxes to indicate vote state