optionally use libmagic for better MIME-type guessing; fixes #4
document compatible libmagic version
use a blueprint to enhance embedability/reuseability/modularity; fixes #25

URL converter registration inspired by http://blog.adrianschreyer.eu/post/adding-custom-url-map-converters-to-flask-blueprint-objects
improve MIME type handling