Add a Mongoose validations and test it

added priority field to schema, added mongoose validation of noteBody, and added mocha test of the noteBody validation