compatibility with Dancer 2
Merge pull request #7 from yanick/dancer-2

compatibility with Dancer 2