Remove trailing white spaces in the whole project

The changes are done automatically with the following command:

  find . -iname "*.scala" -print0 | xargs -0 sed -i 's/ *$//'