Error checking, code revisions, new database

Added more error checking into REST API and other component classes, as
well as increasing errors overall specificity.  Made minor revisions to
database classes.  Created new Demographic database based on the Nemsis
provided script.