Question answer tests

Wrote validations for question and answer models. Tested these validations in spec files with use of shoulda-matcher gem.