Updated vote button to use Ajax

Added Ajax support to the vote buttons. 

Two points that need improving
* I have updated the votes controller to send back json, this will break the site for nojs users. We just need to update the method on the controller to revert back to what is was doing for non Ajax requests
* Should probably move the FlashBuilder into its own js file