move scala dependency to the top

there are some weird errors in Eclipse otherwise
Merge pull request #1163 from cos/hotfix/move-scala-dependency

move scala dependency to the top