JBIDE-11319: Url for Eclipse-SourceReferences
JBIDE-15317 - LiveReload script injection corrupted html encoding

Using Charset configured in Eclipse when reading local files.
Fallback to UTF-8 if charset is unknown
Fixed the "content-length" response header value
Also, the returned content is encoded with the charset provided in the request's
"accept" header.
JBIDE-15430 - Chrome regression because of invalid content-lenght returned with special characters

Fixed the way the returned entity is written into the response outputstream
added a junit test to verify that the 'Content-Length' response header matches the actual response body (in byte[])
Merging branch JBIDE-15430 into jbosstools-4.1.x