New functions setencoding and setencodingv in data.table.R

This addresses my comments from July in issue #685.

There is currently no tests because the testing fails as is on my PC(?)