Fix max-age setting

 * It would not work for cookies set to expire tomorrow or later, since
setting the time in a BDateTime does not overflow to the date.
 * The BDateTime API could be improved to make this look nicer.
BUrl: parse URLs using a regular expression.

 * RFC3986 provides the regexp to parse URIs properly
 * Code is simpler and safer
 * Avoids an infinite loop when trying to parse some data: URIs
BNetworkCookie: Allow cookies without a path

 * They will be valid for the whole domain
 * login.live.com cookie test now works
pcnet: only disable interrupts, without acknowledging them.

* related bug #10088.
RegExp: fix match count computation

 * There actually is a way to count the matches, so use it instead of
attempting to guess
 * In some cases (when using optional groups (xxx)?, for example), there
may be a non-matching group (with offsets set to -1) and matching groups
after it, so the binary search wasn't quite working
 * Instead, we always return the number of capturing groups in the in
the given expression, which is the maximal number of matches. Some (or
all) of these may not have any content. We do return 0 matches on any
error, including when the regular expression didn't match anything.
BUrl: use a regex to parse URLs

 * The RFC provide a regular expression for URI parsing, so just use it.
 * Allows parsing URIs with missing components (no scheme or authority)
 * This allows to parse relative URLs as expected
 * Can also handle things such as data: or mailto:
 * Also more fixes to handling of incomplete URIs, some flags weren't
always set to the right values.

This gets Windows Live Mail (or is it called Outlook?) working, with
some other fixes on WebKit side.
Fix loading add-ons in safemode

Signed-off-by: Philippe Saint-Pierre <stpere@gmail.com>
Fix Mismatching allocation and deallocation

Signed-off-by: Philippe Saint-Pierre <stpere@gmail.com>
fix #9982: make installer quit when alt+w in eula window
Consolidate adding add-on directories

This builds off of hrev46243 adding add-on directories all in one place
in AddOnMonitorHandler instead of repeating the code 3 times in
IndexServer, AddOnManager, and MediaAddOnServer.

The safe mode checking in InputServer is now redundant since it all
gets funneled into AddOnMonitorHandler::AddAddOnDirectories()
and the safe mode flags are checked there.

We should probably remove the InputServer::SafeMode() method, but,
I didn't want to break anything that depended on it so I left it.
Add beam,liblayout,rsync,lua,unrar packages

 * Some of these are mine, others provided by augiedoggie.
Revert hrev46245

 * Quitting the Installer when the user clicks "Continue" isn't what we want.
HttpRequest: docs and memory management fixes

 * Now takes ownership of headers, form data and input data
 * Split Set* and Adopt* methods to help with proper use of this (Set
does a copy)
 * Write documentation.
HaikuDepot: Fix #10108.

- Set default installation location to system for now, pending support
  for choosing the destination.
Tracker: Add zoom shortcuts to menuless windows

(for instance the desktop)
Keymap: Add a method to get modified characters for a key

This method fills out the passed-in BList of modified utf-8 characters for
a given utf-8 character and set of modifiers.

For example if you pass in "=" and B_SHIFT_KEY the list will get filled
out with each character in the shift map that has "=" in the normal map.

Each supported keymap modifier combination is available.

The reason this is useful will soon become apparent.

A BList is used because the character might be mapped multiple times,
for example if you have a Mac keyboard you've got two "=" keys, one in
0x1d and one in 0x6a.

The caller is responsible for creating the BList and destroying it as well as
freeing the resulting character strings.
Tracker: Add semantic zoom in shortcut.

Fixes #6692

iif '+' is localed in shift + '=' in your keymap, add a shortcut for
Command + '=' to zoom in.
WebPositive: Add semantic zoom in shortcut.

Fixes #7428

iif '+' is localed in shift + '=' in your keymap, add a shortcut for
Command + '=' to zoom in.
FirstBootPrompt: sort keymaps
ifconfig: typo fixes