Implement IF NOT EXISTS for CREATE SEQUENCE.

Fabrízio de Royes Mello
Mark IsBinaryUpgrade as PGDLLIMPORT to fix windows builds after a7ae1dc.

Author: David Rowley