Fixes #575, #587, #647
Improved test case for #587
Attach artifacts of SBT plugin to build lifecycle
Added test output to diagnose travis-ci issues
Added more tracer code
Testing Travis-CI workaround