Rename model's hasId to hasIdRaw
Introduce Model hasId()
Use _getId() in actionlimit model
Don't allow to omit $key in model's _getId()
Rename model's _getId to _getIdKey
Change model's toArray to use hasId and getId
Merge pull request #1108 from njam/model-id-toarray

Refactor Model's ID getters and toArray