restyle discussion index page.

fixes CNVS-6302

test plan:
  * general regression test of discussion topics index
    page; verify that pinned/open/locked areas work as
    expected and that discussions can be moved between
    them;
  * verify that topics' last post date is displayed under
    the title;
  * verify that user subscription status is displayed in
    the new icon;
  * for topics that are assignments, verify that the due
    date displays. other topics should be blank in that
    cell;
  * verify that locked discussion titles are grey;
  * verify that, as a student, the pinned discussion area
    is hidden if there are no pinned discussions;
  * verify that the pinned area displays for instructors
    when no topics are pinned, and that it displays
    instructions.

Change-Id: Ibd8dd9c357dab72c6bc62af80a136c871f951807
Reviewed-on: https://gerrit.instructure.com/21573
Reviewed-by: Mark Ericksen <marke@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Cam Theriault <cam@instructure.com>
Product-Review: Zach Pendleton <zachp@instructure.com>
add filter account courses by term param

test plan:
 * add enrollment_term=x to an API call to /accounts/:id/courses
 * it should properly filter with both canvas IDs and sis IDs

Change-Id: I9b6ab589820295cbdf9474d5756b6f41c18d33d4
Reviewed-on: https://gerrit.instructure.com/21608
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
add vendor_guid to api for outcomes and outcome groups

test plan:
* confirm that the 'vendor_guid' property is accessible
and editable through the API for outcomes and outcome
groups

* confirm that in the api, if an assignment's rubric
criterion is associated with a learning outcome, that it
returns the vendor guid

closes #CNVS-6387

Change-Id: I28d4cfb42172e69f07a03a398ba15011aaab4f7c
Reviewed-on: https://gerrit.instructure.com/21642
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
added the wiki pages index

test plan:
 * navigate to /courses/:id/pages
 * ensure that all current pages are represented
 * ensure all links navigate to /courses/:id/pages/:page_slug

   note: creating new pages from the pages index is intentionally
         not implemented; this functionality will be added after
         the new page view/editing implementation is complete

fixes #CNVS-5271

Change-Id: I059efb5961b77920221859d37a25234fd5068cdc
Reviewed-on: https://gerrit.instructure.com/21559
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
only try to generate inline view callback url for expected contexts

if there isn't a callback endpoint for the context don't
set it.

Test Plan:
 * the last_inline_view value should be updated if the context
   is a user/course
 * it should not be updated if it's an unexpected context like
   an assignment
 * the submission preview page should still load if the context
   is an assignment

Change-Id: Ifd8d433a0bc6fec751cdf08dfa170024691a0832
Reviewed-on: https://gerrit.instructure.com/21669
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
improve accessibility of calendar 2 visibility toggles.

fixes CNVS-5690

test plan:
  * using a screen reader, navigate to the list of
    available calendars in the calendar 2 sidebar;
  * verify that each toggle is read by the screen reader
    as a checkbox, and that it is read with its label;
  * verify that the toggles can be clicked with the screen
    reader, and that their state is properly updated and
    read to the user.

Change-Id: I9f904bb3c0106b7b1f17ca0d27955afdeb10582f
Reviewed-on: https://gerrit.instructure.com/21569
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Zach Pendleton <zachp@instructure.com>
Product-Review: Zach Pendleton <zachp@instructure.com>
QA-Review: Zach Pendleton <zachp@instructure.com>
Revert "add debugging information to track down an issue"

This reverts commit aecb27989946841fc56cb31cc288f5359f4133d6.

Change-Id: I8d90d948208396b18023340d4ba832481f09ed40
Reviewed-on: https://gerrit.instructure.com/21663
Reviewed-by: Brian Palmer <brianp@instructure.com>
Product-Review: Brian Palmer <brianp@instructure.com>
QA-Review: Brian Palmer <brianp@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>