partial method implementation

This implements the `partial` engine API method.  This method is used
to render a template against a set of locals.  Unlike the `render`
method, it is agnostic of any view handler.

This is part of implementing Deas' render api.

@jcredding ready for review.