Update bridge.js

Implemented a method of silently accepting new light objects on the POST /api/username/lights endpoint.
Update bridge.js

Fix unintended modifications.
Check for empty object

Added one more check to not change the behavior when the request is empty.
Merge pull request #3 from galactoise/master

Implement POST /api/:username/lights for adding new light