Added Fanstatic support to the mdftemplate plugin.

The plugin now uses Fanstatic to add css and js resources to the web
application.