Fixes compatibility with Pry >= v0.10.1 (77a9c000679c99265d4b9604c9e88da27c3cd751)
The Pry CommandSet#commands method has been renamed to CommandSet#to_hash
This patch removes the dependency on that method and *should* be backward compatible.