Save search settings whenever the dialogue is closed.
This patch adds search capabilities for:

* Column's type names and default values
* Everything in a view definition
* Column names in composite types, tables and foreign tables
Fix generated DDL for views

I've noticed that views for which I had never specified check_option
or security_barrier (in pgsql 9.3) have got incorrect DDL generated -
the "WITH (options)" clause is empty.
PG_SSL macro was missing for the x64 build configurations.

Reported By Colin Wright, and diagnosed by Sandeep Thankkar
Fix SQL for GRANT on a sequence

Report from liuyuanyuan.
Saving of macros after pasting a query in to the box
Allow quick injectection of favourites by name

This allows to replace the word under the cursor with it's corresponding
favourite
Bump version for beta 1 release
Merge remote-tracking branch 'upstream/master'

Conflicts:
	pgadmin/frm/frmQuery.cpp
	pgadmin/include/utils/favourites.h