Merge pull request #2 from mikey179/master

work for 3.0.0
add stubbles\img\Image::loadFromResource()
more api rework
allow setting image in response via write()
add stubbles\img\response\ImageFormatter
respect head requests