Implement model:patch for partial update

- For more details about the implementation see
http://williamdurand.fr/2014/02/14/please-do-not-patch-like-an-idiot/
- Still need to implement correct HTTP response [2]

[2] - http://tools.ietf.org/html/rfc5261
Update required indexes for testing
Merge branch 'local'