#1048: Create a JSONP writer

For phpDocumentor to create templates that consume content using XHR requests we
actually need to do JSONP requests to retrieve content. This is because docs
made with phpDocumentor are often read offline without the use of a web server.

The absence of a web browser has the disadvantage that XHR requests are not
possible with the single exception of JSONP requests because those are not
hindered by cross domain request restrictions.
I wonder... would adding a `continue;` line in each block here let execution jump on to the next element without having to check the remaining IFs?  At first, I was thinking "use a `switch` here", but that wouldn't be easy with `instanceof`.  It's a micro-optimization, sure, but this section of code will be executed many times in a given doc run, so maybe it's worth the extra `continue` lines.