AUI-1639 listener for "maxWidth" attribute. If maxwidth and thumbnailsConfig.width are present, we que the minimun of them in order to be consistent with maxwidth.
AUI-1639 Test cases
AUI-1639 thumbnails should be always centered