Made compatible with Mojolicious 4.78 and later.

See RT #93060, filed by Zoffix Znet.
v1.20140306

    - made compatible with Mojolicious 4.78 and later