Refactor installer-name setting for cakephp-plugin.

/cc @lorenzo @markstory