Extension lookup map; add gif and bmp
Clarify multiple extension registrations; add simple test
Merge pull request #2 from xsleonard/extension-lookup

Extension lookup map; add gif and bmp