CLC-3499 Protect against null subcats; fix blank User Roles select box

https://jira.ets.berkeley.edu/jira/browse/CLC-3499

Fixes 2 issues with ccadmin: 1 was Eli's crash, where a deleted subcat caused nil exceptions to be thrown; 2 was the User Roles select box being empty when editing Links.