Updated pom.xml with forge-based suggestions, setup now works in JBoss, but no longer in Glassfish.

 * Glassfish issue: due to enabling of CDI, Weld throws an INFO exception
   (triggered by incompatibility with Scala) that Glassfish doesn't show and
   treats as deployment error.
Adjusted code to use CDI instead of JSF injection.
Homework assignments from "Functional Programming with Scala" course on Coursera.