Applies the layout style to the layer directly, which is about twice as fast using jQuery.
Inlines the null/undefined check in SC.Set.prototype.add.