Changed val to def in table fields definition

Using val causes some strange errors when using tables.
Slick's explanation is that scalac does some (over)optimization if val is used.