Fixed some validation errors with the Quote DB

Fixed the quote add/edit pages so that they properly validate input instead of causing errors when invalid input is submitted.

NOTE: You still can't submit quotes with custom authors. I will try to work on that tomorrow. This should be a hotfix for the recent/not-so-recent bugs with the quote DB though.