Hyperref compliance

Modified thesis.cls to allow 4th argument to \contentsline and thus
compliance with hyperref.

Also added hyperref package to root tex