Dialzyer support

Add `make dialyzer`, and ensure it passes all dialyzer checks. Updated
the mochi* modules to the latest versions from mochiweb.