Update db schema migration

Added some missing triggers & functions in the schema migrate rake task.

Made it a little bit friendlier (ask for user input regarding schema names, defaulting options, etc).

All in all, a little bit better.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.