tests for optipng version. fixes #46
added async and defer as separate options on the script. closes #128