Image embedding support via filter

Hey Jeff
Have given it the ability to do image embedding via a filter. Let me know if the code could be cleaned up - it's a bit verbose right now and so's the output, but it's a step towards single-file HTML output for documents this thingy makes