Add ImageMagic/Libavcodec find logic
Use propper ffmpeg compatiblity instead of relying on deprecated functions
Add missing header to CMakeLists.txt
Merge pull request #132 from BtbN/cmake_magick

cmake support for ImageMagic vs. libavcodec