fix dest files
split html instead of global regex match.  fixes issues where
duplicated resources were not getting replaced in minified code.  also
makes it easier to grok what regex is doing.
saner identation
Merge pull request #31 from fouasnon/master

fix breaking change when file.dest is not specified