Correction to Custom Insert Form example

Attributes of afFieldIsInvalid and afFieldMessage should be named
Merge pull request #361 from paulellery/patch-1

Correction to Custom Insert Form example
#362 Clarify documentation about "onSubmit"
Fix  #363, run endSubmit even if no after hooks are defined
updating template helpers to better syntax
Merge pull request #371 from SachaG/master

updating template helpers to better syntax
Merge pull request #369 from jakozaur/jacek-fix-363

Fix  #363, run endSubmit even if no after hooks are defined
pass `docId`, bump version
Merge pull request #365 from jakozaur/master

#362 Clarify documentation about "onSubmit"
added AutoForm.getInputType, AutoForm.expectsArray, AutoForm.getSchemaForField; added `leftLabel` option that is recognized by bootstrap3-horizontal template to move label to left column for check boxes; closes #360
remove console.log
updates for backward/foreward compatibility, reorg files
fix to logic of when to throw insert/update/method errors
set `this.docId` in context of submission hooks
set `this.autoSaveChangedElement` in context of submission hooks if submit was caused by autosave; closes #326
bump version
Merge commit 'dbd7cc1594837ce1dc3a1e5f9c8c65292dc207ab' into develop

* commit 'dbd7cc1594837ce1dc3a1e5f9c8c65292dc207ab':
  bump version
  set `this.autoSaveChangedElement` in context of submission hooks if submit was caused by autosave; closes #326
  set `this.docId` in context of submission hooks
  fix to logic of when to throw insert/update/method errors
  updates for backward/foreward compatibility, reorg files
  remove console.log
  added AutoForm.getInputType, AutoForm.expectsArray, AutoForm.getSchemaForField; added `leftLabel` option that is recognized by bootstrap3-horizontal template to move label to left column for check boxes; closes #360
  pass `docId`, bump version
  updating template helpers to better syntax
  Fix  #363, run endSubmit even if no after hooks are defined
  #362 Clarify documentation about "onSubmit"
  Correction to Custom Insert Form example

Conflicts:
	autoform-validation.js
	autoform.js
	smart.json
Omitted "settings" attribute.