Add support for template params in query-to-REST map keys

Template parameter to WHERE clause mappings are defined in `templateParams`, just like `queryParams`.

Example:
```
'todos/:todo_id/tasks': {
  queryStringBasic: 'SELECT task_id, todo_id, description, completed FROM todo_tasks',
  idName: 'task_id',
  templateParameters: {
    todo_id: 'todo_id = \'{todo_id}\''
  },
  queryParameters: {
    completed: 'completed = \'{completed}\''
  }
}
```