Update JqueryEngineHelper.php

 I hope this one is correct.
Because this a feature request it should go on cakephp 2.6 branch.

I would like being able to specify more then one id to be called when updated after an ajax request.
I know it is also possible accomplish this, wrapping all tags with and external tag, but I want to have both options.

Due compatibility with apps already coded it checks if parameter is not an array

I was asked to build a Test case to back my change, so instead of using an string to indicate the following call that we want to update just the tag whose have the specified id we do this:
```php
<?php
	$this->Js->submit(
		__('Update'),
		array(
			'async' 			=>	true,
			'class'			=>	'btn btn-default',
			'div'				=>	array(
				'class'	=>	'form-group'
			),
			'method'			=>	'get',
			'update'			=>	array('#id_1', '#id_2'),
			'url' => array(
				'controller'	=>	'players',
				'action'		=> 	'get_player/' . $name
			)
		)
	);
```
Please let me know if I should improve any part of my pull. Thanks for your patience.
If you cast, you can avoid the if/else and the is_array() check completely:
```php
$elements = (array)$options['update'];
foreach (...) {}
```
done :)