Package version setter

Hi,

I would like to propose this additional setters as I believe that they are required/missing functionality. They provides a way to change branch by custom installers - it's needed for example when you composer installation is run on different environments which needs different config files(different config files can be hold in branches of config repository and you cannot/don't have permissions to clone 'everything').

Thanks in advance,

Kamil