[layouts] Make a difference between layout focus and layout variant, introduce has_variant() function for layouts
[layouts] introduce data attribute and set_data() function that you may use for complexe rendering
[layouts] items_per_page can be specified thru layout_variant
[fix] bad check in if clause
[layouts] infinite scroll is a option for layout_as_mosaic, and masonry grid width may be overwritten in skin.php