RepositoryWriterImpl::_AddPackage(): more info in error messages
Add HPKG to Expander's supported types
Add StopRequestPending field/accessors to Thread.
Fix #9854.

The post syscall debug events used for output capture have an
unfortunate side effect: when asked to debug a thread, the thread is
interrupted, which, if currently blocked in a syscall will cause it to
unblock and send a post syscall event indicating such. However, this
will also absorb the debug stop flag that was set by the initial debug
request, and so we won't actually get the separate event indicating
thread debugged.

Consequently, we now set a pending stop request flag on the
corresponding Thread object, and check if it's set when processing
syscall events. If so, we treat such an event as having triggered a
debug stop even though the received event type is not explicitly
B_DEBUGGER_MESSAGE_THREAD_DEBUGGED.
Don't try to read data for output capture if the syscall didn't succeed.
Call debug_cleanup() before converting kernel_args to 64-bit addresses, fixes #9842.

In debug_cleanup(), if the debug syslog buffer is disabled (the default when
KDEBUG_LEVEL is 0), then a new buffer is allocated with kernel_args_malloc().
This is done after kernel_args addresses have been converted to 64-bit, so
the address the kernel gets will be 32-bit, resulting in the page fault seen
in #9842. Fixed by moving the call to debug_cleanup() to before
convert_kernel_args().
repository writer: fix use of incorrect header size

The header size of the package file header was used, which resulted in
broken repository files.
Implement #9855.

The Team menu now has a menu item allowing one to tell the debugger to
stop whenever a new executable image is loaded by the debugged team.
This setting is not currently persisted, though that can be changed if
desired.
intel_gart: fixed bridge detection

... for bridges used with multiple displays.
Should fix #9853
BRepositoryInfo: make sure fInitStatus is always set correctly
BRepositoryCache: use BStandardErrorOutput
BSolverRepository: fix gcc 4 build
BSolverRepository: add SetTo(const BRepositoryCache&)
pkgman: RepositoryBuilder: add BRepositoryCache c'tor
Expander: Fix layout regression.

- Adjust ExpanderWindow to use BLayoutBuilder.
- Adjust content pane layout to explicitly use unlimited size, since
it no longer implicitly gets it due to the recent checkbox changes.
Repository file format: group attributes of a package

* Introduce new package attribute B_HPKG_ATTRIBUTE_ID_PACKAGE (valid
  only in a repository file) to group the attributes belonging to a
  package.
* BRepositoryContentHandler:
  - No longer derive from BPackageContentHandler.
  - Add hooks HandlePackage() and HandlePackageDone() that bracket the
    attributes for a package. This is more explicit and robust than
    handlers having to guess when one package ended and the next began.
* BRepositoryCache: Make use of BPackageInfoContentHandler. No need to
  duplicate the code for reading a package info from package info
  attributes.
MediaPlayer settings: layout fixes.
Media prefs: layout fixes.
package_repo list: add missing cases

It probably would be better to share code with package's list, since it
is very similar.
LibsolvSolver: missing include