Expose 'format' function

I'm making an extension of docco that runs the template on the client side (same docs can be be viewed in different contexts + can use client side templates instead of jst). 

I only need to run 'parse' and 'format' for creating initial HTML sections object on the server side.
Merge pull request #219 from amitport/patch-2

Expose 'format' function