Add #all_associations method

@geemus I made it return the reference when is a `has_one_identity` and `has_many_identities` instead of the associations because thats a behavior i want to have. You think this could be a problem?