Made $formats protected

One can now extend the class and overwrite all built-in formats, with a app-specific smaller/restricted set of possible mime types.
Merge pull request #1 from DracoBlue/patch-1

Made $formats protected