more extensive checks

Will check for the existnace of mediainfo and ffmpeg
Get imdb type
Merge branch 'dev' of https://github.com/ugokanain/nZEDb into ugokanain-dev

Conflicts:
	www/lib/postprocess.php
Perms