Workplace messaging app Slack has raised $250 million in a funding round led by the Japanese tech giant SoftBank - it's now worth $5.1 billion.