Changed $error_msg to $errors
Fixed a missed variable $errors in set_rules().
Removed extra space between closing parenthesis.
Updated change log message for form validation custrom errors.
Updated comment messages.
Added spaces between parameters and fixed the arrays to be more readable.