Fix obvious pasto in PostOrder walk.
Add rbtree_callbydata for sane threadsafe/garbage-collected operations

  When working with an rbtree which is exposed to multiple threads,
  it is not safe to do much of anything with data retrieved by functions
  such as rbtree_finddata, other than to feed it directly to rbtree_delete.

  This is because once rbtree_finddata has returned, another thread may
  obtain a pointer to that data (and hence may begin mangling non-key
  material such as container_of or any child allocs.)  This is especially
  true for rbtrees that have a freeNode garbage collection routine defined.

  This function allows safe operations while the rbtree lock is still
  held.  It also allows for a conditional delete operation based on
  criteria which may only be safe to ascertain while the lock is held.
  In addition to short operations, it could be used, with due care, to
  trylock a more granular lock associated with the key before deleting
  the key or before operating with it outside of the rbtree lock.
Use a consistent callback return code

  This is the one place in the codebase where a positive return code
  is used in an rbtree_walk callback.  Changing it negative should have no
  effect, and keeps options open as to whether to introduce new symbols
  for the next patch to follow, or to change the libfreeradius API
  slightly WRT rbtree callback return codes.

  Whether any third-party add-ons may use positive return codes is not
  known.
Always fixup after deleting a black child node in rbtree

	This prevents rbtree_delete from creating unbalanced/illegal rbtrees.
Add a batch deletion mode to rbtree_walk

   Walks the tree calling callbacks as per InOrder
   Allows callback to ask for deletion of records after evaluating criteria
   All callbacks and deletions done while lock is held
A test file for libradius rbtree ops
    Verifies red/black counts to all child nodes after adds/deletes
    Tests DeleteOrder; code provided in comments for vanilla rbtree_delete.
    Build system magic necessary for this is beyond me.
    It's a start at least
Currently not finding an attribute causes an abort of the update section
If we know the destination is a list, copy all instances of the source attribute
Always set command to NULL after calling ct_cancel
Fix messed up macro
pcreposix manual says both -lpcre and -lpcreposix need to be passed
-lpcreposix must be listed in linker arguments before any other libraries to avoid picking up posix regex symbols. Fixes #357

On my system OSX 10.8.4 this resulted in a SEGV in regncomp.
Set map operator on copied filtered attributes
Remove invalid assert, this could fail for VALUE_PAIR producing execs
Restructure map2request and dependencies to return a status code instead of VALUE_PAIRs
Buffer may be NULL.  Closes #358
Re-enable [n] [#] and [*].  Closes #354.

This code was deleted during the change to cursors.
Don't echo if we do nothing
Installed links depend on the installation dir.  Closes #360

Through the simple expedient of having the rules for the links
active ONLY when the directory doesn't exist.  If the directory
exists, the rules aren't active, and no links are created
Fix typo