Add restlet library.

Found a need to create more complicated REST interface, so decided to go
looking for a library that'll simplify it. Restlet seems good, so going
to try it.
Store course title in the Files table.

ubc_ctlt_ca_files now stores the course title so I don't have to
retrieve it separately with another API call. Not sure if this actually
provides a significant time saving, but having to retrieve the course
title for a few thousand times seems like it'd be costly.
New Alerts Module API, allow file list pagination

Retrieving a few thousand files turns out to freeze my computer. Just in
case some users might have a few thousand files for whatever reason,
I've implemented pagination for the Alerts Module so their browsers
won't freeze trying to load a higher amount than usual files.

Note that the API side is sort of unusual due to the desire to place
less load on the database server. Each time a page is requested, all of
the user's file entries are retrieved and processed by the servlet
instead of letting the dataase deal with it. The processing seems to be
pretty quick on my computer even with thousands of files, so hopefully
it'll be fine.

Reducing the database load is a precaution due to the database being
resource starved recently.
Fix Content Collection link for course title.

The (view) link to the Content Collection next to the course titles
broke cause of the switch from displaying course name to course titles.

This is because the Content Collection uses the course name as part of
the path, not the course title.

This was fixed by transmitting the course name as well as the course
title in the json so we can use it as part of the Content Collection
path.