$(selector) must return with length=0 if no elements found for true jQuery behavior

Current result of `$('#non-existent-element')` is:

```js
{
    [0]: null,
    length: 1
}
```

whereas jQuery would respond:

```js
{
    length: 0
}
```

I have modified the `$()` function accordingly to accommodate the expected behavior.