avoid raw Types when dealing with scene2d Cell

add generic types to more things in Table.java

fix error

fix error again because im bad
make changes suggested by Nate
Merge pull request #1998 from jrenner/cell-fix

avoid raw Types when dealing with scene2d Cell