First commit for adding new criteria to courses

- modified criteria api to have two paths, one for CriteriaAndCourses
and the other for just Criteria. This allow us the flexibility of
only interacting with the Criteria or the relationship it has with
courses
	- CoursesCriteriaResource - for model CoursesAndCriteria
	- CriteriaResource - for model Criteria
- current design is to have the add criteria option part of the
course configure form. When a new criteria is created, it is by default
added to the course as well
- editing criteria is only available to the author and admins. The
edit form is a new screen. When the update is submitted, the user
is redirected back to the course configure form they came from
- the add and edit form uses the same partial
- a partial has also been partially created for listing the criteria
currently being attached to the course. This partial is still under
construction
	- adding remove action
	- dropdown menu to add previously created courses
	- also intended for use in the question form
Created backend tests for criteria

- wrote tests for getting, creating, and updating criteria
- modified CriteriaFactory so that name and description can be set
implemented adding existing criteria / deactivating criteria in a course

NEED TO UPGRADE DATABASE
- modified api/courses/:courseId/criteria to only returned criteria
that are active
- added ability to add existing criteria
- added ability to deactivate criteria in a course
- created api to return all the criteria the user has access to
	- admins: all criteria
	- other users: their own + public criteria
- created a database upgrade script
	- removed constraint that a criterion name needs to be unique
	- added public attribute to Criteria - eg. default criterion
	- added active attribute to CriteriaAndCourses
Created more tests for criteria api

- created tests for adding/deactivating criteria in a course
- created tests for getting all accessible criteria
- added tests for getting only active criteria in the course
- updated dataformat to return the status of the criteria in the course