Enabled pseudo selectors

Added function to replace dashed pseudo selectors in filenames, e.g.
button-hover.png to create correct pseudo selector styles, e.g.
button:hover {...}
Merge pull request #2 from Lafinboy/master

merged from Lafinboy