Fixes a bug in createChannel if keyCount=1

In this case the setPoint got keyValues+pointOffset as an argument which pointed to a wrong memory-address
Merge pull request #974 from ChrisWiki/master

Fixes a bug in createChannel if keyCount=1
Merge pull request #976 from blackberry/master

Merge master to next