Added ability to handle custom action per record, e.g. send welcome email.
Clean up model record view, so that it is easier to read the code.
Added error handler middlewares to linz which are accessible via linz.middleware. Error handlers are required to be wired up manually in application.
Update error handler to print the error to console for developer debugging.
Update linz error handler to output error stack trace when application is in development mode.
Re-instated error logging to console.
The record actions dropdown no longer renders if none have been defined.
Merge branch 'formtools-recordActions' of https://github.com/smebberson/linz into formtools-recordActions

* 'formtools-recordActions' of https://github.com/smebberson/linz:
  The record actions dropdown no longer renders if none have been defined.
Update code to be consist for checking if variable exists.
Merge pull request #37 from smebberson/formtools-recordActions