feat(progressbar): Progress type can be set through attribute

I've fixed the problems with you having to set the type of the progressbar on the bar and not the container.

#1241