2 new functions (not used yet)

added functions
- get_allowed_extensions()
- get_allowed_image_extensions()
(not used yet)