UnionOfRAD/lithium — pull request #582 by jails (2012-07-15 00:19:47+00:00)
Title: Optimise Model::key() and fix some issues

Fix :
- on multiples keys return `null` if one or both miss in the datas
- Model::key(array()) return `null` instead of the id.
- Model::key() keep the same behavior and returns the id

Optimisation :
- `::to('array')` is no more the default behavior for looking for key
- removing the use of method_exists()