Use dynamic urls for plugins

The plugins block in main.scala.html is increasingly
cut-and-pastey and this makes it worse, but this does
fix the problem with not remembering the current code
url.
Merge pull request #285 from typesafehub/wip/havocp-plugin-urls

Use dynamic urls for plugins