Fix python2 compatibility
`which` function is ported to python2 and used in `ipalib.util.get_pager`, fixed import in `ipatests.test_ipalib.test_util` - `mock` will be imported from `python2-mock` package in case of python2
Reviewed-By: Christian Heimes <cheimes@redhat.com>