extract_options! would break nested parameters

So, let's treat the last element of the given attributes as our option only if the element was a Hash that has :model_name key.
Version 1.2.1