relay_acl: added result_store

and refactored for simplicity and testability.

config loading is done in refresh_config, mainly to make writing tests
convenient. Tests can set plugin.cfg values, test, set other values, repeat ad testium)
acl: fix for Issue #428
Merge pull request #515 from msimerson/relay_acl

Merged