refactor pixel density handling per #1
support explicit retina '@2x' images, related to #1
more complete and consistent retina support, related to #1