Allow passing empty arrays as parameters

Right now something like

```php
$entityManager
    ->createQuery("SELECT e FROM Entity e WHERE e IN (:entities)")
    ->execute(array('entities' => array()));
```

produces a `Warning: array_fill(): Number of elements must be positive`