Added validates_confirmation_of
Added option for multiple model directories
Encapsulated return in {}
Added exception when relationship class is not found
fixed issue when using namespaces, the original classname was replaced and so no namespace was present with the next model directory
Fixed issue caused by previous commit; now only extracting namespaces from classname once
Passes tests, issues with multiple directories resolved
newlines from CRLF to LF
Removed var_dump
Fixed issue when having Models in different namespaces, those without namespace had precedence
Fixed that if class_name was given with namespaces, it added the namespace
from the options also
Added some newlines for readability.
Implemented 'on' option for validations.
Added tests for on create/update/save