Added progress bar directive, with tests and docs