Migrate to scala 2.10.

1. migrate to scala 2.10, fix all warnings and errors.
2. update all dependences.
Bump to v1.1.1.