Changed exits to exceptions in LocationDB

On validation errors in LocationDB, the program used to print to stderr and then exit. This was dumb. They now throw RuntimeException with the error string that was previously printing to stderr.