Updates for future pull request

Update:
- checked code style (pass sbt/sbt scalastyle)
- added running-on-reef.md in doc directory
- added Apache License doc strings
- added scalaTest