bug 855423 Change all RAISE ERROR -> NOTICE in stored procs

* Add alembic migration (yay!)
* Fix a test that no longer needs to expect an exception
* Add OR REPLACE to CREATE FUNCTION