Added the deauth and firewall enforcement methods to api.pm.

They are not yet called from enforcement.pm but that can now be changed
by switching the old enforcement module for the new one in branch
feature/WebAPI_enforcement.
Hrm. Commiting the actual change.
Correct wrong get_logger method.
Fixed trailing period.
Fixed imports from pf::config.
Updated logging to stay consistent, even if it means accepting some
badly formulated messages.
Further corrections to pf::config imports.
Merge pull request #167 from louismunro/Feature/WebAPI_internal_traps

Feature/web api internal traps