Add Data fields to remaining elements

Also export_all converted to export, and add function specs
Dialzyer support

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