title: ZF2 fromQuery() returns an empty array
body: <p>I'm just starting to get going with Zend framework 2 and this seems like a simple task, but for some reason it doesn't work.</p>
  
  <p>I'm trying to simply get the query parameters: <code>controller/action?name=something</code></p>
  
  <p>I've tried using:</p>
  
  <pre><code>$this-&gt;params()-&gt;fromQuery()
  $this-&gt;plugin('params')-&gt;fromQuery();
  </code></pre>
  
  <p>Which I believe both are the same, however both return empty arrays when I have parameters set.</p>
  
  <p>My route looks like this:</p>
  
  <pre><code>        'users' =&gt; array(
              'type' =&gt; 'Zend\Mvc\Router\Http\Literal',
              'options' =&gt; array(
                  'route'    =&gt; '/users/search',
                  'defaults' =&gt; array(
                      'controller' =&gt; 'Module\Controller\Users',
                      'action'     =&gt; 'search',
                  ),
                  'may_terminate' =&gt; true,
                  'child_routes' =&gt; array(
                      'query' =&gt; array(
                          'type' =&gt; 'Query',
                      ),
                  ),
              ),   
          ),
  </code></pre>
  
  <p>Any ideas what I'm doing wrong?   </p>