Stash support + Scalastyle in configuration

This PR adds:

- stash support (tested with version 2.11.2)
- scalastyle support

Needs review and general refactoring :)