Merge pull request #590 from mcnewton/v3.0.x

fix up some debian packaging issus for 3.0.3
Use !* which is better than -=
The LHS of -= may not exist in a list
radius_map2vp() returns 0 on not found, not -2

Because not finding a VP isn't an error.  It just means
that we can't do the requested action
Fix radius_map2request() to handle "head == NULL"

Which is now always valid.  The side-effect is that the operators
now *always* behave as defined, even if that means unexpected
behavior:

	Filter-Id := &Blah

if "Blah" attribute doesn't exist, Filter-Id is deleted.  That's
because you're setting it to the value of Blah.  Which is nothing.
Issue warning when we have invalid syntax

In the future, "User-Name !* ANY" will be required.
For now, "User-Name !* bob" will cause a warning message
to be printed in debugging mode.
Clarify warning message
Take max_sessions from max_requests.

It's a little high, but it means that a busy server will
automatically be able to handle more EAP sessions.

Otherwise, the server will start ignoring EAP sessions, or
discarding "old" ones that are still in process
Update pap documentation and examples
Remove extraneous assignment
Remove extraneous assignment
Remove unused assignment
Fix clang scan warnings

Which also highlighted a bug.  Apparently no one uses this module,
because pretty much any use of it would cause it to crash.
Set destination port for client replies from relay.  Fixes #591
Make radeapclient build/work in 3.0.x branch

My goal was to have a working version of radeapclient in 3.0.x, *not* to
improve it in any way (for now).
Here is what I did:

1. make the build work.
This includes the following changes:

- undefined references: SSL_*
-> added to .mk: -lssl

- undefined references: radlog_request, radlog_request_error,
rad_assert_fail, radius_exec_program, cf_data_find, cf_section_parse,
cf_data_add, cf_pair_find, cf_pair_value, cf_item_parent,
cf_section_sub_find, cf_sectiontoitem, cf_section_sub_find_name2
-> added to .mk: libfreeradius-server.a

- more undefined references:
pairlist_read, pairlist_free -> main/files.c
rad_fork, rad_waitpid -> main/threads.c

- undefined reference: mainconfig
-> added to radeapclient.c:
struct main_config_t mainconfig;

- problem with "const" qualifiers in FreeRADIUS structures.
Using non "const" pointers to make it build/work.

2. fix the segmentation fault issues.
This includes the following changes:
- after each "paircreate" for an octets or string attribute, allocate a
buffer for vp_strvalue (or vp_octets) through talloc_zero_array (or
talloc_memdup).
- use a talloc'ed eap_packet_t (instead of a static variable) in
functions map_eap_methods and map_eapsim_types (because it is used as a
talloc context by called functions).
- fix the free -> talloc_free issue in eapsimlib.c

3. removed a check that made no sense in sendrecv_eap.

4. tested for EAP/SIM.
NOT tested for EAP/MD5, although I corrected the missing allocation in
the related code.
Assertions for scan complaints
Assertions for scan complaints
Assertions for scan complaints
Stupid checks because of broken clang analyzer complaints
Fixes for clang analyzer