Needs to use .prop instead of .attr. Also deleted the unused
function variable and changed .is to .checked as it is way
faster (http://jsperf.com/prop-vs-ischecked/5).
Merge pull request #258 from nightmarebadger/fix_select_all_checkbox

Fix select all checkbox in contents view