Changed the way actions are added to projects so that ClassCastExceptions are fixed. Fixed getRecipients() method in JobMailProjectAction.