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.
Space missing after comma.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.<br>Never use `do` with multi-line `while`.