Add support to append and set bytes on a Buffer with an offset and length.

See BZ 425958
Merge pull request #779 from eclipse/buffer

Add support to append and set bytes on a Buffer with an offset and lengt...