Sample app tests

Tests done and Sample apps refactored and documented. There is also an added plugin dependency from sbt.core.test on sbt.sample.app.