use mini_magick
escape all strings
fix span calculation
Merge pull request #16 from rdd-giga/master

use montage to generate the css sprite