Pam: make arguments default to empty array, fix #100

(cherry picked from commit 956a788687f30f516c4489fc9e74b26ef7df5fbe)
Pam: Allow to consider control as a parameter, fix #114

  Add control_is_param parameter

(cherry picked from commit d7b960cfda928cf73e4e97cdf19b81132648ba5c)