Added validation to notes.rb for body and title length, and stack presence