Correct tests that rely on trailing white spaces
Fix package name in test unit
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/ *$//'
Convert tabs to spaces and remove the trailing spaces afterwards

The changes are done automatically with the following commands:

  find . -iname "*.scala" -print0 | xargs -0 sed -i 's/\t/  /g'
  find . -iname "*.scala" -print0 | xargs -0 sed -i 's/ *$//'
Fixed trailing whitespaces not automatically detected
Add content to empty Scala file to solve Scalastyle warning
Add Scalastyle plugin

For the beginning the only rules that are activated are rules that
check for the existence of trailing whitespaces and tabs.

The Scalastyle plugin runs at the very beginning of the build process,
it is the first call executed in the build-all.sh script.

Whenever some style errors are found the complete build is aborted,
which means that all style errors needs to be fixed before new code
can be merged.

To run the plugin manually simply type in:

  mvn scalastyle:check