Update to scala 2.10 and fix dependencies