Refactored ActiveQuery::one() to be consistent with all() creation

- remove code duplicate
- one() and all() create models identically
- usefully on extends ActiveQuery