Make empty table messages display correctly

For arrays on some Velocity templates, such as $projects on the index page, the variable is populated with an empty array rather than null. Thus, the if($projects) check returns true and an empty table, rather than the "no projects" message, is displayed.

This patch fixes those instances where the array variable in the template contains empty arrays rather than null.