Added an 'idField' option to the query controller. Updated put, get and head methods.

Hi again,

Here an implementation of the ```idField``` option.

Hope that helps,
Best