Vote function added
Added redirect to root after vote
Adding voteresult
doesnt refresh anymore after vote
Coffeescript changed
Merge branch 'votecontroller' into vote-rspec
readding the coffeescript for preview image