some test fixes
Escape the % character before using syslog
Added new function smf_modules_fetch_user_data() to fetch user data from backend
database before plugin start.
- added new function smf_session_is_local() to determine if a given user
  is found in local database
- added new function smf_session_get_user_data() to retrieve user data