add layer visibility component
also change directive names
Merge pull request #7 from fgravin/layervisibility

add layer visibility component