Replace request_var() with $request->variable()

This is fixed in ticket #4. This is a Code Syntax bug for PHP <5.4. See Travis build log.