Fix indexing not reading metadata attributes.

The indexing is supposed to skip files that had already been tagged but
it wasn't. It looks like it wasn't using the metadata attribute IDs
configured by the user. This turned out to be cause by the
SavedConfiguration object not loading saved settings when it was
created, so there were no attributes to be read. This had also broken
the runtime limit. The fix was to add a call to load after the object
was created.

There's a reason why I don't load the configuration in the
SavedConfiguration object's constructor, I think it was due to the
exceptions, but can't exactly remember. It might be good to revisit this
later on.
Move jsonintermediate package into ctlt space.

It was mistakenly in the root package space instead of properly under
ca.ubc.ctlt.
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.
merge with prev
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.