Render partials with helper methods, instance variables, and local variables.

Pass an instance of Sinatra application to Tilt::Jbuilder for partials.