Add ActiveRecord support

This commit adds autofill option to handle before_create callback
to set uuid if the target attribute is nil.
And also adds custom Finder 'find_by_formatted_xxx'.