Extracted mime_types

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Unifying the functionality of some of the app_module.dispatch_* methods.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>