Fix incorrect use of ObjectDeleter.
Add "Run to cursor" context action.

- UserInterfaceListener/TeamDebugger: Extend ThreadActionRequested()
  to allow passing a target address. Adjust TeamDebugger's
  implementation accordingly.

- ThreadHandler: The MSG_THREAD_RUN action can now optionally take an
  address parameter to run until. If this is specified, set a temporary
  breakpoint for said address before resuming execution.

- SourceView: On right click, present a context menu showing possible
  actions for the current line if we're currently in a stopped thread.
  For the moment, this only yields the "Run to cursor" action, but
  more will be added in the future.
Fix gcc2 build.
HaikuImage: alphabetically order system apps.
update GCC4 package to gcc-4.7.3-haiku-130513

* based on btrev43058.
LocaleRules: define includesSeparator
libbe.so catalog: fixed headers search.

* use SEARCH_SOURCE instead of SEARCH, it's also used for headers search
* add print to UsePrivateHeaders, needed for pr_server.h
<build>linkcatkeys was failing to run on Haiku r1a4 correctly.

* linking against the host libbe.so which could also contain classes
like DefaultCatalog seems to let the runtime_loader in trouble.
* as a workaround we rename the class.
Improve ProcessController<->Debugger integration.

- Clicking on a team item in Threads and CPU Usage now offers the option
  to debug the team in addition to killing it.
- Both the aforementioned option and the previously existing thread
  debugging option now invoke Debugger directly instead of simply
  invoking debug_server via debug_thread().

Implements #9768.
Incorrect checking of already set double indirect blocks

Wrong variable usage in inner loop caused some double indirect stream
runs to be checked twice when block size was smaller than
DOUBLE_INDIRECT_ARRAY_SIZE, while some were incorrectly marked as
unallocated in the bitmap.

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
bfsinfo: Added double indirect block output.
Terminal: Center Find window in term window frame

... instead of positioning it under the mouse pointer as suggested
by Axel.
libroot: make all areas executable for old binaries

 * If at least one image is either B_HAIKU_ABI_GCC_2_ANCIENT or
   B_HAIKU_ABI_GCC_2_BEOS almost all areas are marked as executable.
 * B_EXECUTE_AREA and B_STACK_AREA are made public. The former is enforced since
   the introduction of DEP and apps need it to correctly set area protection.
   The latter is currently needed only to recognize stack areas and fix their
   protection in compatibility mode, but may also be useful if an app wants
   to use sigaltstack from POSIX API.
Terminal style fix, spaces around binary operator
Terminal: Move secondary windows back in screen

For the Window title and tab title edit windows there was already code used to
move a window that had gone out of the screen frame back in.

I generalized this code by turning it into a _MoveWindowInScreen() method
and then called it in 3 places, the original 2 cases as well as the Find window.
We might want to move this method into BWindow if this is something we'd like
to use it for windows in other applications, but this solves the problem in Terminal
for now.
if_nameindex() wasn't retrieving interface index. Fixed #9770
Style cleanup and fix a possible endless loop
Extend Table/TreeTable's interface.

- Add NotifyNodesCleared() hook to table model as a shortcut for
removing all rows.

- TreeTable::_RemoveChildRows() now recognizes the special case of the
above and optimizes it by calling BColumnListView::Clear() rather than
removing each row individually.

- Add TableModelReset()/NotifyTableModelReset(). This notification is
used to tell the underlying table that a full rebuild is needed due to
the model changing completely.
Cleanups/optimizations for ImageFunctionsView.

- Get rid of the functions array as we no longer really needed it except
to sift duplicates. The latter function is now done simply by keeping a
set of already seen function addresses, and skipping entries which fall
in said category.

- Use NotifyNodesCleared()/NotifyTableModelReset() as appropriate.

- Remove now-unused sorting functions.

Combined, these changes significantly reduce the overhead of switching
the active image, which was produced observable lag when either choosing
another image in the Images list, or when stepping into/out of a
function resulted in an image change.
VariablesView: Use Notify{NodesCleared,TableModelReset}().