Fix more dependencies

On Quantal+ graphicsmagick depends on libtiff5 which conflicts
with libtiff4.

Also add support for Raring and Saucy.

Change-Id: I203096aa146412e2f0ed839c87a49727a7567892