Run tests via task dependencies

Took out the conditional logic from tasks. Now running `gulp karma --no-serve` will run the karma task directly and give you the correct exit code. This way, the CI build can fail.