Added ability to post bugshot to JSON API.
New method ’close’ to dismiss
Cleanup