Update query to JDatabase format

Query updated in component.
Please use, 
```php
$query->where(($db->qn('a.menutype') . ' = ' . $db->q($menuType) . ' OR' . $db->qn('a.parent_id') . ' = 0');
```