Change how comment weight is calculated

Instead of passing the vote which is a string, to calculate the comment weight, pass the value direclty by converting the vote to its value with the available methods.
Update tests to reflect refactoring