Fix bug in Buffer constructor: Use obj.__proto__.toString = function, etc. so that the object's methods are properly assigned.  Use toString('hex') instead of DataUtils.toHex.

Change-Id: I75f0a9aae1dabd88f8dc08ba341aaa7bea36d60a