Nasri 'agrees Arsenal contract'