IsCallable class

Can be used in tests to check if argument passed is callable
correcting call to get_scaling_group_servers

`get_scaling_group_servers` changed its arg to server_predicate but its
caller in metrics.py was not changed. Now changed it. Also updated tests
to check this