Added scalariform for scala code formatting

Use sbt-scalariform (https://github.com/sbt/sbt-scalariform) plugin to reformat the coding style when users run `sbt compile` to ensure that we've consistent style.