Used current working home as base directory to config relative path.

When a config relative path specified, get_absolute_path would not
return an absolute path. The patch fixed it using current working
home as base directory.

Signed-off-by: Gu Feng <flygoast@126.com>
Don't duplicate last published PEP items

When a contact becomes available, usually both the 'caps_update' hook
and the 'presence_probe_hook' are called.  For remote contacts, both
hooks triggered PEP notifications, so each item was sent twice.  Fix
this by ignoring the 'presence_probe_hook' for remote contacts.
Respect privacy lists for incoming PEP messages
Add new hook: c2s_filter_packet_in

The c2s_filter_packet_in hook can be used to modify or drop incoming
packets before they are transmitted to the client.
Don't route PEP error messages to clients
Also carbon-copy messages of type "normal"

It makes no sense to restrict carbon-copying to "chat" messages.
XEP-0280 is expected to be updated accordingly.
Fix mod_client_state's configuration parsing

Don't log an "invalid value" message when "queue_presence" or
"drop_chat_states" is set to "false".
Merge pull request #352 from weiss/no-last-pep-duplicates

Don't duplicate last published PEP items
Merge pull request #354 from weiss/pep-privacy

Respect privacy lists for incoming PEP messages
Merge pull request #363 from weiss/drop-pep-errors

Don't route PEP error messages to clients
Merge pull request #364 from weiss/copy-normal-messages

Also carbon-copy messages of type "normal"
Merge pull request #365 from weiss/csi-config

Fix mod_client_state's configuration parsing
Merge pull request #350 from flygoast/master

Used current working home as base directory to config relative path.