Properly handle pecl extension versions

If you force pecl to install a specific version (e.g. memcache-3.0.6), then the state gets a non-zero exit code on every subsequent check. This change makes the pecl state accept an option version that will be honored and checked correctly.