Added rank method to posts
Added rank display on posts'
Users can only vote once
Refactored JS
Added parent_id and validations to comment
Refactored
Finalised comment display
Added reply error flash