XD-270 Small fixes for naming

Added prefix option for renaming strategy, fixed
some typos and wrongly named variables, changed
hdfs sink option names. Added and fixed some tests.