Update to Mojolicious 4.0 syntax

The method render_text in M::Controller is removed
from 4.0, and is replaced with render(text => ...)
Merge pull request #4 from hemmop/a037faa2728940f2007f0a6c3dffd1b237c77f96

Update to make tests work with Mojolicious 4.0