Fixed bug in PHP 5.4 and customize the links in admin list (index.php)

To use, create a public property of the controller like this:
public $links_list = array(
							array('level' => 'admin', 'action' => 'export', 'label' => 'Exportar'),
							array('level' => 'admin', 'action' => 'delete', 'label' => 'Apagar', 'params' => 'onclick="return confirm(\'Tem certeza?\');"')
						 );