Doc updates, mime-dump fix

- Move example from doc.go to example_test.go
- Convert example to executable test example
- mime-dump no longer blows up on non-MIME message