Added support for delayed custom validation (useful for ajax) and more error rendering options