utils: Move DynamicBuffer from encoding folder to util.

Change-Id: I152f720c46a6e0f9285eb064079dd0f6fcac12f9
tests: Move contentObjectToHtml to member of EncodingUtils.

Change-Id: I112ec7177081fa03cbd6125e7a5844d6285315e0
browserify: Added require and exports as needed to support Node.js.

Change-Id: I108d8689af32479eb72f82bd3b3819d8abd02f36