Add inline caption support

I just added the posibility to add an arbitrary text or DOM element over the progress indicator. It can be used, for example, as a text indicator of the progress.