Remove tangential code from WorkPackagesController

This code now belongs elsewhere, e.g. ProjectsController.

Signed-off-by: Alex Coles <alex@alexbcoles.com>