Make up/downvote dynamic + mvc js

`add controller methods for problem_up/downvote
`add mvc framework for js