API: proposal-apply! only applies when proposal passes all checks
API+Query: accept and reject proposal messages
Fixed minor typos
Updated SQL