Add a new command "scontrol show cache" to display the
associations in slurmctld.
Fix protocol versio, variable naming and some style
in commit 1953fdecbb.