Stop travis errors on phpcs warnings.
Change semantics of Network's byID() magic method.

As there can only ever be one device that matches a given id the byID
filter will now return the matching device (if any) instead of an array
of matching devices.