Bug fixes

Fixes bugs:

Adding missing dependencies.
Adding the line "@Table(name= "Grades")" for the grades dom class in order to fix the distribution functionality.
Adding the missing message driven bean that should be linked to the "queue" resource.