fixed tests and fixed views

fixed tests for create_section, section_class_list, and section_user_list, also added new tests for resource_link_id, and fixed views.py where resource_link_id was missing from template render calls.


It looks to me like there are a few tests missing around the case of the missing course id (which, IMHO, would be alleviated by introducing the course id in the url, but that's beside the point).  I think the important checks for this case are that the error template is rendered and that it's rendered with a 500 status code.  I wouldn't even bother having a test to check if there was an error log call, but just keep the patch so it's mocked.