move function and trigger creation in ddl.sql

Context is in https://github.com/QueueClassic/queue_classic/issues/233
rename variable in QC Setup
add Rails migration
temporary rename of readme.md -> to readme

I want it to be README.md, this is annoying me big time. :)
rename README
Merge branch 'fix-upgrade' into 3-0-stable
bump version