fixes #1. Added ajax GET that verifies if the book category exists. In javascript this function is generic. Added popover messages on inputs that gives errors.