renamed ground_semidet to call_semidet_ground

- also moved the meta call as the first argument (like in maplist/call,
etc).
- electron_configuration is now using the Madelung's rule