Vips: update to 7.40.3

update vips.rb to latest stable, list of changes here:

http://libvips.blogspot.co.uk/2014/06/new-stable-version-740.html

add the new libgsf-1 optional dep

reorder the formula to get all recommended and all optional deps listed
together

Closes #1035.