add ###version### template in Pubnub.php
refactor urlencode usage
remove Client::encode*rs
fix version templates
add channelGroupSubscribe() method