Build: Show "Build failed" status bar. Fixed #561

Only run the minification, linting and compiler tasks if the build
succeeds. Otherwise show "Build failed" in the status bar.