+ named cursor support via the :cursor_name option for postgres dbs
Minor cleanup for :cursor_name commit

Now that a specific identifier can be chosen, quote the name to
avoid SQL injection issues.

Also, change the spec to test for nested cursor use, since that's
the reason to implement the option.