Improve wikipedia-plugin (add configurable limit) and add a dice-rolling plugin.

Also fix a missing var and a double-definition in the main lib.