Fixed bugs with entity_link_dao::_by_fields_multi() and entity_link_dao::_by_fields().
Also fixed mistake with self/parent for LIMIT in entity_record_dao.
Fixed a variable collision in the entity_link mysql driver causing the wrong data to be returned.