Fixes virtualField support for Model::escapeField().

Adds a test for #1270 and fixes it. The fix provided there didn't escape the field. It just translated the virtualField. Also the changes to DboSource there weren't needed.

Or am I missing something? :confused: