Refactored linz functions to be asynchronous. Added ability to load config files and store each config as document in a collection titled linzconfigs.
Re-factored cellRenderer to accept model instead of model name due to requirement for handling schema from configs. Re-factored linz.api to allow URL construction for configs. Added routers for admin and editing access for configs. Updated all admin link to use linz.api.getAdminLink.
Moved padWithZero function from form.js to formtool utils so it can re-used.
Added ability to add embedded document in configs and minor tweak to ensure configs are loaded based on the configs files rather what is stored in the configs collection.
Changed linzconfigs collection name into linz default so it can be changed easily in one location.
Added new formtool widget checkboxesWithAddition that allows user to add in new options if required. Added missing callback for functions in linz where it return early in the function.
Added ability to reset config to the default values. Added documentArray cell renderer. Removed any require library that are not used in the config middleware and routes.
Update config middlewares and routes to require linz for any linz related data so that we poluting linz and req.linz
Added try/catch to handle error when configs or models folders are not found.
Changed linz config collection name to linzconfigs
Updated formtool to support array default value. Updated checkboxes and checkboxedWithAddition widgets to support array of objects as the value. Updated configSave to convert form post value for field that should be array when persisted in the database.
Updated linz.initConfigs to return early when possible. Update configEdit middleware to return the err with the next() function.
Updated linz to emit an event initialised when the application has been initialised.
Merge branch 'admin-configs'

* admin-configs:
  Updated linz to emit an event initialised when the application has been initialised.
  Updated linz.initConfigs to return early when possible. Update configEdit middleware to return the err with the next() function.
  Updated formtool to support array default value. Updated checkboxes and checkboxedWithAddition widgets to support array of objects as the value. Updated configSave to convert form post value for field that should be array when persisted in the database.
  Changed linz config collection name to linzconfigs
  Added try/catch to handle error when configs or models folders are not found.
  Update config middlewares and routes to require linz for any linz related data so that we poluting linz and req.linz
  Added ability to reset config to the default values. Added documentArray cell renderer. Removed any require library that are not used in the config middleware and routes.
  Added new formtool widget checkboxesWithAddition that allows user to add in new options if required. Added missing callback for functions in linz where it return early in the function.
  Changed linzconfigs collection name into linz default so it can be changed easily in one location.
  Added ability to add embedded document in configs and minor tweak to ensure configs are loaded based on the configs files rather what is stored in the configs collection.
  Moved padWithZero function from form.js to formtool utils so it can re-used.
  Re-factored cellRenderer to accept model instead of model name due to requirement for handling schema from configs. Re-factored linz.api to allow URL construction for configs. Added routers for admin and editing access for configs. Updated all admin link to use linz.api.getAdminLink.
  Refactored linz functions to be asynchronous. Added ability to load config files and store each config as document in a collection titled linzconfigs.

Conflicts:
	public/js/ui.js
	routes/recordDelete.js
	views/modelIndex/records.jade
	views/recordOverview.jade