Issue #253: Root level service info buttons don't work until service is expanded.

The service info button click handler was only added after a checkbox
click or item expand event. This change adds the click event handler
immediately after rendering the layer selector tree.
Issue #255: Checking a layer group with a layerId greater than 0 results in all child layers being selected.

The logic which gathers the list of visibile layerIds when a layer group
is checked was faulty. Not only would it include all checked child
nodes, but it would also include the layer group parent node.

Due to 0 being falsy in JS this issue did not affect the first layer
group in a collection which lead to inconsistent behavior.

This is fixed by only adding a layer to the list of visible layerIds if
it is a leaf node.
Merge pull request #254 from kdeloach/topic/fix-service-info-button

Issue #253: Root level service info buttons don't work until service is ...
Merge pull request #256 from kdeloach/topic/fix-layer-group-selection

Issue #255: Checking a layer group with a layerId greater than 0 results...