Add constraints to add reviews to a book (gh #17 and gh 21))

If a book has ratings or reviews, you can not destroy it, only
deactivate it and one must be logged in to rate a book
Add missed files in previous checkins