Add basic function and trigger migrations

Added the ability to define migrations that create, drop, and rename
both functions and triggers (since triggers need functions).  This
allows migrations to handle more of the requirements of setting up
the underlying SQL database behavior.

This version currently only provides support on postgresql.
Merge remote-tracking branch 'upstream/master' into basic_function_and_trigger_migrations
Initial commit for join table model
insert into join table
Initial commit for join table model
insert into join table
Merge head
Support for getting join table model data
alias the queryinterface on hasmany double linked for brevity
Create an alias for connectorDAO for brevity
slight variable renaming
Make the ordering / quoting API consitent
Moved querygenerator into the abstract folder
Fix dao-factory ordering to use the new order API
don't do "variable || true" to cast to bool
Correctly import abstract qg in sqlite qg
set validate option default to true for DAO-Factory.update
Typo
Merge remote-tracking branch 'upstream/master'
fix searching for rows where attribute is in array of values, test