Added in form validation.
 * Removed bootstrapValidator as it didnt work well with the dynamic
   line items.
 * Manually handling form validation