Use max-width for captions

Prior to this commit the CSS property for caption width was set to `width`. This restricts Bootstrap's .img-responsive for responsive images. Now this property is replaced with `max-width` to let the images shrink to smaller than their configured size.