Add forms_only_mode

When parsed as a form, send an error.

Also: removed getDataRecord from exports.

Fixes #178