Add test for prepared queries with bool parameter.

This test was created based on a report from Andrus Moor in the help forum:
http://pgfoundry.org/forum/forum.php?thread_id=15672&forum_id=519&group_id=1000140