Moved AjaxButtonView to its own file

Also neatened up imports.