Align YAML config getlist with libconfig implementation
This aligns the behavior of params_yaml with params_config library:
- when a mapping is read using
getlistit returns the number of elements in the mapping instead of 0 - when a mapping is read using
getit returns the number of parameters used for input
Edited by Bartosz Podrygajlo