Alternate images

This is the refactored alternate images pull request for picturefill, with suggestions from @Wilto .