[S-RAMP-178] Improved Mimetype detection

This PR tries to address 2 things:
- The mimetype detection is done purely on the server-side discarding any hints about the mimetype suggested by the clients
- Use Apache Tika for mimetype detection