Garretts patches to get the writer.close callback to fire
added .close methods to reader/writer doc. updated publish doc to be consistent with other method format
Merge branch 'bugs/writerclosecallback'
Merge pull request #39 from james-huston/master

Add writer.close callback