Added custom config support, MIMEtype autodetect

Config:
custom config files allowed using option -c path_to_conf

MIMEtype:
autodetects based on file
Merge remote-tracking branch 'origin/master'

Conflicts:
	README.md