Escape semi-colons so they can be searched.

JIRA: https://activestate.atlassian.net/browse/STO-670
Bugzilla: https://bugs.activestate.com/show_bug.cgi?id=104026

CC Github issue: https://github.com/cloudfoundry/cloud_controller_ng/issues/258
Pivotal tracker: https://www.pivotaltracker.com/story/show/72931502
Follow rubucop-enfored style guide
Use unique names to avoid the collision with query_spec.rb
Update the unit test for semicolons in queries to use a sqlite db and full string matches.
Merge remote-tracking branch 'origin/pr/259'