Fix select all checkbox in contents view

Fix for #256.

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).