resources accordion

integrated accordion layout on resources page with button toggles
nav hilights

'active' class added to current page's nav element
teacher_required

modified decorator to redirect to register page if logged in user
attempts to access dashboard and is not a teacher, redirects to home if
user is not logged in
nt

minor formatting changes