Added setLightstate for Groups of Lights via Endpoint /groups/<id>/action

extended apiPaths with groups/<id>/action and implemented a switch in
api.js setLightstate if additional parameter group is set with true. If
not just ignore it and use endpoint for single set of lightState.