Add support for view functions in static views

You can now create view functions on `Static` instances and use them in server-side static views.

Usage:

```js
var staticPages = derby.createStatic(root);
staticPages.view.fn('name', function(...) { ... };
```