resources voting and initial votes controller
added voting functionality: controller, post.index