Add masonry and masonry-brick classes for backwards compatibility

Hi there! Looks like we've lost some classes during the upgrade to version 3. Let's add them back to the shim for backwards compatibility. Also mentioned in #384.