Scala 2.11 compatibility

 - make the build aware of Scala's modulurization
 - accomodate stricter rules wrt by-name inference