Updated to scala 2.11.2

Fixed compiler errors and removed deprecated symbols