Use cl-lib instead of cl

The `cl` library was finally deprecated in Emacs 24.3. `cl-lib` provides
namespace-clean versions of the functions and macros from `cl`.

The `cl-lib` package from ELPA is used to provide a version of `cl-lib`
for older Emacsen.
Extract sp--populate-keymap helper