Fix Mojo::DOM::attrs deprecation and hash sort on 5.18.0
Merge pull request #2 from leonkyneur/master

Fix Mojo::DOM::attrs deprecation and hash sort on 5.18.0