SSP-2783 Skip Plan status joins if report field not filtered on

Also modifies the 'Number of Students by Status' report to
include students with no status. Also fixes a similar
filtering/joining problem in this report w/r/t external_course.