redirect test standard output to report files; convert some slf4j logging in the source
Merge pull request #18 from zheguang/sam-dev-pull-request

logging: redirect test output and modify test messages
merge with master branch