Adding support for detecting mime-types of files to be uploaded.

The current behaviour of httmultiparty is to upload all file-types with content type "application/octet-stream". This causes problems with endpoints that expect uploads with certain types (eg. picture uploads).

This pull request add the ability to detect mime types using the mimemagic library. 2 test cases and 2 fixture files are included to verify new functionality.